RTEMS Logo

RTEMS 4.9.2 On-Line Library


Task Manager TASK_WAKE_WHEN - Wake up when specified

PREV UP NEXT Bookshelf RTEMS Ada User's Guide

5.4.15: TASK_WAKE_WHEN - Wake up when specified

CALLING SEQUENCE:

procedure Task_Wake_When (
   Time_Buffer : in     RTEMS.Time_Of_Day;
   Result      :    out RTEMS.Status_Codes
);

DIRECTIVE 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

DESCRIPTION:

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.

NOTES:

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.


PREV UP NEXT Bookshelf RTEMS Ada User's Guide

Copyright © 1988-2008 OAR Corporation