Functions | |
void | Show_Wakeup (float *time) |
Returns the time specification of the current wakeup event. More... | |
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.