RTEMS Logo

RTEMS 4.9.5 On-Line Library


User Extensions Manager TASK_START Extension

PREV UP NEXT Bookshelf RTEMS C User's Guide

22.2.3.2: TASK_START Extension

The TASK_START extension directly corresponds to the task_start directive. If this extension is defined in any static or dynamic extension set and a task is being started, then the extension routine will automatically be invoked by RTEMS. The extension should have a prototype similar to the following:

rtems_extension user_task_start(
  rtems_tcb *current_task,
  rtems_tcb *started_task
);

where current_task can be used to access the TCB for the currently executing task, and started_task can be used to access the TCB for the dormant task being started. This extension is invoked from the task_start directive after started_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-2008 OAR Corporation