altos: Leave interrupts disabled while checking for task to run
authorKeith Packard <keithp@keithp.com>
Thu, 25 Oct 2012 20:40:54 +0000 (13:40 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 26 Oct 2012 21:07:04 +0000 (14:07 -0700)
commitccf0faa7d26d56deca7928b521d07be40504466a
treea7faa1cc9e2998e8e0754b3af939c030019405e4
parent9b978cd467f9128f3069765dd8fbf8abad3459a4
altos: Leave interrupts disabled while checking for task to run

Otherwise, we run the risk of an interrupt waking a task after we've
decided to idle the CPU.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/avr/ao_arch.h
src/cc1111/ao_arch.h
src/core/ao_task.c
src/stm/ao_arch_funcs.h