altos: Add debug check for irq block when editing task queues
authorKeith Packard <keithp@keithp.com>
Wed, 29 Jun 2016 00:03:34 +0000 (17:03 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 30 Jun 2016 02:17:45 +0000 (19:17 -0700)
commit658d8be170f9aea683fe62b68368736a177411a5
tree41c1abd8a42917ee463f178f15180cf2c093b43c
parent30eb5d2fa77e036690170e7057fa9df669375ae5
altos: Add debug check for irq block when editing task queues

List manipulation operations are not atomic, so interrupts need to be
blocked while changing them.

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