Functions | |
void | Show_Wakeup (float *time) |
void Show_Wakeup | ( | float * | time | ) |
Returns the time specification of the current Wakeup event.
time | - The relative time-from-now as originally passed to Enable_Wakeup_Events() . Passed by reference always. Returned to user. |
Once a "Wakeup" event has reached the front of the event queue and become the current event—by enabling Wakeup events and then calling Await_Event() —your program can ask for details about it. Often you won't need details, but if you have two or more wakeups running Show_Wakeup() will allow you to differentiate them.
NOTE
If the current event is not actually a Wakeup-type event, or if there is no current event, the system will complain.