altos: Add task queues.
authorKeith Packard <keithp@keithp.com>
Thu, 25 Oct 2012 06:50:55 +0000 (23:50 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 25 Oct 2012 07:07:14 +0000 (00:07 -0700)
commitb49c751749dcd3e78991463c098f8d916f52179d
treeedb44fa67b8458b4bcb7928d122ffcf291b00107
parent4b13d3c659240e5a8347b1ba7ab0bf1d8355eba3
altos: Add task queues.

This replaces the array-based scheduler with a queue-based one
instead. It should have the same basic scheduling semantics, but it
walks shorter lists for each operation, making it much more efficient
when the system has a lot of tasks.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/core/ao_list.h [new file with mode: 0644]
src/core/ao_task.c
src/core/ao_task.h
src/megametrum-v0.1/ao_megametrum.c
src/megametrum-v0.1/ao_pins.h
src/stm/ao_timer.c