GDSX Manual
Service Routines
Extended General Device Support (GDSX) Manual–134303
8-38
GET_PROCESS_HANDLES_CPU_
indicates the outcome of the call. The value of status is one of the following:
name:length input:input
STRING .EXT:ref:*, INT:value
supplies the name of the process whose process handle is to be found. The value of
name must be exactly the length in bytes as specified by length.
processhandle output
INT .EXT:ref:10
is a pointer to a process handle. If the operation is successful, 0 is returned in
status, and processhandle contains the process handle corresponding to the
name supplied by name. If the operation is not successful, 1 is returned in
status, and processhandle contains a null process handle (-1 in each word).
GET_PROCESS_HANDLES_CPU_
This procedure returns the CPU number of a process handle.
cpu returned value
INT:value
indicates the outcome of the operation. If a valid CPU number is found in the
process handle, the number is returned in cpu, otherwise -1 is returned.
processhandle input
INT .EXT:ref:10
is a pointer to a process handle.
GET_PROCESS_HANDLES_NODE_
This procedure returns the node number from the passed-in process handle.
node returned value
INT(32):value
-1 The process handle for name was not found
0 The process handle for name was found
cpu := GET_PROCESS_HANDLES_CPU_ ( processhandle ); !
i
node := GET_PROCESS_HANDLES_NODE_ ( processhandle ); !
i