The rtems.task_set_priority
directive is used to obtain or change the
current priority of either the calling task or another task. If
the new priority requested is
RTEMS.CURRENT_PRIORITY
or the task's
actual priority, then the current priority will be returned and
the task's priority will remain unchanged. If the task's
priority is altered, then the task will be scheduled according
to its new priority.
The rtems.task_restart
directive resets the priority of a task to its
original value.
Copyright © 1988-2007OAR Corporation