RTEMS Logo

RTEMS 4.9.6 On-Line Library


Task Manager TASK_SELF - Obtain ID of caller

PREV UP NEXT Bookshelf RTEMS C User's Guide

5.4.3: TASK_SELF - Obtain ID of caller

CALLING SEQUENCE:

rtems_id rtems_task_self(void);

DIRECTIVE STATUS CODES:

Returns the object Id of the calling task.

DESCRIPTION:

This directive returns the Id of the calling task.

NOTES:

If called from an interrupt service routine, this directive will return the Id of the interrupted task.


PREV UP NEXT Bookshelf RTEMS C User's Guide

Copyright © 1988-2008 OAR Corporation