RTEMS Logo

RTEMS 4.7.3 On-Line Library


Task Manager TASK_WAKE_AFTER - Wake up after interval

PREV UP NEXT Bookshelf RTEMS C User's Guide

5.4.13: TASK_WAKE_AFTER - Wake up after interval

CALLING SEQUENCE:

rtems_status_code rtems_task_wake_after(
  rtems_interval ticks
);

DIRECTIVE STATUS CODES:

RTEMS_SUCCESSFUL - always successful

DESCRIPTION:

This directive blocks the calling task for the specified number of system clock ticks. When the requested interval has elapsed, the task is made ready. The rtems_clock_tick directive automatically updates the delay period.

NOTES:

Setting the system date and time with the rtems_clock_set directive has no effect on a rtems_task_wake_after blocked task.

A task may give up the processor and remain in the ready state by specifying a value of RTEMS_YIELD_PROCESSOR in ticks.

The maximum timer interval that can be specified is the maximum value which can be represented by the uint32_t type.

A clock tick is required to support the functionality of this directive.


PREV UP NEXT Bookshelf RTEMS C User's Guide

Copyright © 1988-2004 OAR Corporation