OAR

RTEMS 4.5.0 On-Line Library


Task Manager TASK_GET_NOTE - Get task notepad entry

PREV UP NEXT Bookshelf RTEMS C User's Guide

5.4.11: TASK_GET_NOTE - Get task notepad entry

CALLING SEQUENCE:

rtems_status_code rtems_task_get_note(
  rtems_id          id,
  rtems_unsigned32  notepad,
  rtems_unsigned32 *note
);

DIRECTIVE STATUS CODES:

RTEMS_SUCCESSFUL - note obtained successfully
RTEMS_INVALID_ID - invalid task id
RTEMS_INVALID_NUMBER - invalid notepad location

DESCRIPTION:

This directive returns the note contained in the notepad location of the task specified by id.

NOTES:

This directive will not cause the running task to be preempted.

If id is set to RTEMS_SELF, the calling task accesses its own notepad.

The sixteen notepad locations can be accessed using the constants RTEMS_NOTEPAD_0 through RTEMS_NOTEPAD_15.

Getting a note of a global task which does not reside on the local node will generate a request to the remote node to obtain the notepad entry of the specified task.


PREV UP NEXT Bookshelf RTEMS C User's Guide

Copyright © 1988-2000 OAR Corporation