procedure Task_Set_Note ( ID : in RTEMS.ID; Notepad : in RTEMS.Notepad_Index; Note : in RTEMS.Unsigned32; Result : out RTEMS.Status_Codes );
RTEMS.SUCCESSFUL
- task's note set successfully
RTEMS.INVALID_ID
- invalid task id
RTEMS.INVALID_NUMBER
- invalid notepad location
This directive sets the notepad entry for the task specified by id to the value note.
If id is set to RTEMS.SELF
, the calling
task accesses its own notepad locations.
This directive will not cause the running task to be preempted.
The sixteen notepad locations can be accessed using the constants
RTEMS.NOTEPAD_0
through RTEMS.NOTEPAD_15
.
Setting a notepad location of a global task which does not reside on the local node will generate a request to the remote node to set the specified notepad entry.
Copyright © 1988-2007OAR Corporation