From d54156caf856ab5570f050692b333a2c5d991265 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 26 Aug 2013 18:44:23 -0700 Subject: altos: Make ao_wakeup reentrant In case we end up invoking it from two places at once. Signed-off-by: Keith Packard --- src/core/ao_task.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/ao_task.c') diff --git a/src/core/ao_task.c b/src/core/ao_task.c index 0aad6508..18315b1f 100644 --- a/src/core/ao_task.c +++ b/src/core/ao_task.c @@ -420,7 +420,7 @@ ao_sleep(__xdata void *wchan) } void -ao_wakeup(__xdata void *wchan) +ao_wakeup(__xdata void *wchan) __reentrant { #if HAS_TASK_QUEUE struct ao_task *sleep, *next; -- cgit v1.2.3