OAR

RTEMS 4.5.1-pre3 On-Line Library


User Extensions Manager TASK_RESTART Extension

PREV UP NEXT Bookshelf RTEMS C User's Guide

21.2.3.3: TASK_RESTART Extension

The TASK_RESTART extension directly corresponds to the task_restart directive. If this extension is defined in any static or dynamic extension set and a task is being restarted, then the extension should have a prototype similar to the following:

rtems_extension user_task_restart(
  rtems_tcb *current_task,
  rtems_tcb *restarted_task
);

where current_task can be used to access the TCB for the currently executing task, and restarted_task can be used to access the TCB for the task being restarted. This extension is invoked from the task_restart directive after restarted_task has been made ready to start execution, but before it is placed on a ready TCB chain.


PREV UP NEXT Bookshelf RTEMS C User's Guide

Copyright © 1988-2000 OAR Corporation