OAR

RTEMS 4.5.1-pre3 On-Line Library


User Extensions Manager TASK_BEGIN Extension

PREV UP NEXT Bookshelf RTEMS C User's Guide

21.2.3.6: TASK_BEGIN Extension

The TASK_BEGIN extension is invoked when a task begins execution. It is invoked immediately before the body of the starting procedure and executes in the context in the task. This user extension have a prototype similar to the following:

rtems_extension user_task_begin(
  rtems_tcb *current_task
);

where current_task can be used to access the TCB for the currently executing task which has begun. The distinction between the TASK_BEGIN and TASK_START extension is that the TASK_BEGIN extension is executed in the context of the actual task while the TASK_START extension is executed in the context of the task performing the task_start directive. For most extensions, this is not a critical distinction.


PREV UP NEXT Bookshelf RTEMS C User's Guide

Copyright © 1988-2000 OAR Corporation