diff options
author | Keith Packard <keithp@keithp.com> | 2010-04-06 00:56:57 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-04-06 00:56:57 -0700 |
commit | 9e10e43eff9de3f034da49c4f88728fb933f5035 (patch) | |
tree | 310f13bb8715783a155bbea772c48d2f749fec15 /src/ao.h | |
parent | a7fc7901cd591c93d9d0cffeec2977ebb17554d4 (diff) |
Tasks may move in task structure as a result of ao_exit
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao.h')
-rw-r--r-- | src/ao.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -43,7 +43,7 @@ struct ao_task { __xdata void *wchan; /* current wait channel (NULL if running) */ uint16_t alarm; /* abort ao_sleep time */ uint8_t stack_count; /* amount of saved stack */ - uint8_t task_id; /* index in the task array */ + uint8_t task_id; /* unique id */ __code char *name; /* task name */ uint8_t stack[AO_STACK_SIZE]; /* saved stack */ }; |