rtems_status_code rtems_task_wake_when( rtems_time_of_day *time_buffer );
RTEMS_SUCCESSFUL
- awakened at date/time successfully
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 structure 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-2003 OAR Corporation