altos: Make ao_wakeup reentrant
authorKeith Packard <keithp@keithp.com>
Tue, 27 Aug 2013 01:44:23 +0000 (18:44 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 27 Aug 2013 01:47:27 +0000 (18:47 -0700)
commitd54156caf856ab5570f050692b333a2c5d991265
tree9b1800bd660a49f97935fa8fb267f4a179ae08b4
parent7e941695aa27e5eaf453ca1128b8d835472410a4
altos: Make ao_wakeup reentrant

In case we end up invoking it from two places at once.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/core/ao_task.c
src/core/ao_task.h