procedure Task_Get_Note ( ID : in RTEMS.ID; Notepad : in RTEMS.Notepad_Index; Note : out RTEMS.Unsigned32; Result : out RTEMS.Status_Codes );
RTEMS.SUCCESSFUL
- note obtained successfully
RTEMS.INVALID_ADDRESS
- note
is NULL
RTEMS.INVALID_ID
- invalid task id
RTEMS.INVALID_NUMBER
- invalid notepad location
This directive returns the note contained in the notepad location of the task specified by id.
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.
Copyright © 1988-2007OAR Corporation