diff options
author | Keith Packard <keithp@keithp.com> | 2009-11-02 15:45:42 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-11-02 15:45:42 -0800 |
commit | b92333ff5e75bf96804359e9fbf464d3b518bd95 (patch) | |
tree | 02d7fae9a90559aa821783ad0adcf1671a657684 | |
parent | d519564fd08d2defe1211de83ccbdfa3c7cfe702 (diff) |
Disable interrupts while removing tasks from task list
-rw-r--r-- | src/ao_task.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ao_task.c b/src/ao_task.c index 14aa84c8..4664163d 100644 --- a/src/ao_task.c +++ b/src/ao_task.c @@ -228,7 +228,7 @@ ao_wake_task(__xdata struct ao_task *task) } void -ao_exit(void) +ao_exit(void) __critical { uint8_t i; ao_num_tasks--; |