RTEMS Logo

RTEMS 4.10.2 On-Line Library


Task Manager Accessing Task Arguments

PREV UP NEXT Bookshelf RTEMS C User's Guide

5.2.6: Accessing Task Arguments

All RTEMS tasks are invoked with a single argument which is specified when they are started or restarted. The argument is commonly used to communicate startup information to the task. The simplest manner in which to define a task which accesses it argument is:

rtems_task user_task(
  rtems_task_argument argument
);

Application tasks requiring more information may view this single argument as an index into an array of parameter blocks.


PREV UP NEXT Bookshelf RTEMS C User's Guide

Copyright © 1988-2008 OAR Corporation