The rtems.task_wake_after
directive creates a sleep timer
which allows a task to go to sleep for a specified interval. The task is
blocked until the delay interval has elapsed, at which time the task is
unblocked. A task calling the rtems.task_wake_after
directive with a delay
interval of RTEMS.YIELD_PROCESSOR
ticks will yield the
processor to any other ready task of equal or greater priority and remain
ready to execute.
The rtems.task_wake_when
directive creates a sleep timer which allows
a task to go to sleep until a specified date and time. The
calling task is blocked until the specified date and time has
occurred, at which time the task is unblocked.
Copyright © 1988-2008 OAR Corporation