Show_Wakeup
Functions | |
void | Show_Wakeup (float *time) |
Returns the time specification of the current wakeup event. More... | |
Detailed Description
Function Documentation
◆ Show_Wakeup()
void Show_Wakeup | ( | float * | time | ) |
Returns the time specification of the current wakeup event.
- Parameters
-
time - The relative time-from-now as originally passed to Enable_Wakeup_Events() . Passed by reference always. Returned to user.
DETAILS
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.
NOTES
RESTRICTIONS
- See also
- Await_Event, Get_Wakeup, Enable_Wakeup_Events, Requeue_Event.