OAR

RTEMS 4.0.0 On-Line Library


User Extensions Manager TASK_CREATE Extension

PREV UP NEXT Bookshelf RTEMS C User's Guide

20.2.4: TASK_CREATE Extension

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

rtems_extension user_task_create(
  rtems_tcb *current_task,
  rtems_tcb *new_task
);

where current_task can be used to access the TCB for the currently executing task, and new_task can be used to access the TCB for the new task being created. This extension is invoked from the task_create directive after new_task has been completely initialized, but before it is placed on a ready TCB chain.


PREV UP NEXT Bookshelf RTEMS C User's Guide

Copyright © 1988-1998 OAR Corporation