Indicates whether the alarm has been set or not.
Handle for regular timeout, used for delays > 25 ms.
The delay interval in high resolution; tuple of seconds and nanoseconds.
Start of the delay interval; tuple of seconds and nanoseconds.
Handle for immediate, used for polling once the remaining delay is < 25 ms.
Delay in terms of milliseconds, used when deferring to regular timeout.
Simple but accurate alarm that makes use of high-resolution timer. The algorithm is inspired by nanotimer, written by Kevin Briggs.
Author
Marten Lohstroh (marten@berkeley.edu)