Ensure that ao_alarm waits at least the specified time
authorKeith Packard <keithp@keithp.com>
Sat, 19 Dec 2009 23:31:36 +0000 (15:31 -0800)
committerKeith Packard <keithp@keithp.com>
Sat, 19 Dec 2009 23:31:36 +0000 (15:31 -0800)
commiteddb82390a0ecb07ef83c04861993842906b03ab
tree3986d81b2d7281ecb96e499d6ddfb17fcac210de
parent598d168bd6552c3756e4b0267de44147eadab9f6
Ensure that ao_alarm waits at least the specified time

Because the timer tick may happen soon, it's important to delay by
another tick to ensure that we don't wake up early.

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