procedure Task_Wake_When ( Time_Buffer : in RTEMS.Time_Of_Day; Result : out RTEMS.Status_Codes );
RTEMS.SUCCESSFUL
- awakened at date/time successfully
RTEMS.INVALID_ADDRESS
- time_buffer
is NULL
RTEMS.INVALID_TIME_OF_DAY
- invalid time buffer
RTEMS.NOT_DEFINED
- system date and time is not set
This directive blocks a task until the date and time specified in time_buffer. At the requested date and time, the calling task will be unblocked and made ready to execute.
The ticks portion of time_buffer record is ignored. The timing granularity of this directive is a second.
A clock tick is required to support the functionality of this directive.
Copyright © 1988-2008 OAR Corporation