From b92333ff5e75bf96804359e9fbf464d3b518bd95 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 2 Nov 2009 15:45:42 -0800 Subject: [PATCH] Disable interrupts while removing tasks from task list --- src/ao_task.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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--; -- 2.30.2