summaryrefslogtreecommitdiff
path: root/src/stm/ao_timer.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-08-26 09:49:34 -0700
committerKeith Packard <keithp@keithp.com>2012-08-26 09:49:34 -0700
commitd13d0fbfcb0fd6d8a1af46f6270a968d746c830e (patch)
tree2d11bfe1903361b07a1ce31c95db755f8e7d9f8d /src/stm/ao_timer.c
parent1c9baa88d6cd931c66d453674322908eb267ba4c (diff)
altos: Make ao_cur_task_index track ao_cur_task in ao_yield
This keeps the two main task references (index and pointer) in agreement during task switching, avoiding an extra assignment at the end of the task switching loop. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stm/ao_timer.c')
0 files changed, 0 insertions, 0 deletions