altos: Update time for next alarm each time a task is added
authorKeith Packard <keithp@keithp.com>
Thu, 29 Aug 2013 03:54:31 +0000 (21:54 -0600)
committerKeith Packard <keithp@keithp.com>
Thu, 29 Aug 2013 03:54:31 +0000 (21:54 -0600)
Adding a task with a sooner timeout than existing alarm tasks was not
correctly updating the time to fire the next alarm, causing tasks to
be delayed by the wrong amount.

Signed-off-by: Keith Packard <keithp@keithp.com>

No differences found