Guardian Procedure Calls Reference Manual

MOM Procedure (Superseded by PROCESS_GETINFOLIST_ Procedure)
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameter
Considerations
OSS Considerations
Summary
NOTE: This procedure is supported for compatibility with previous software and should not be
used for new development.
The MOM procedure provides a process with the four-word process ID of its creator. The process
ID is a four-word array, where process-id[0:2] contains the process name or creation timestamp
and process-id[3] contains the cpu,pin for the process.
Syntax for C Programmers
This procedure does not have a C syntax, because it is superseded and should not be used for
new development. This procedure is supported only for compatibility with previous software.
Syntax for TAL Programmers
CALL MOM ( process-id ); ! o
Parameter
process-id
output
INT:ref:4
is the four-word array where MOM returns the process ID of the caller's creator. For an unnamed
process, process-id is:
2.<0:1>[0]
Reserved.<2:7>
System number (0 through 254).<8:15>
Low-order 32 bits of creation timestamp[1:2]
Reserved.<0:3>[3]
Processor number where the process is executing.<4:7>
PIN assigned by the operating system to identify the process in the processor.<8:15>
For a named local process, process-id is:
$process-name[0:2]
Reserved.<0:3>[3]
Processor number where the process is executing.<4:7>
PIN assigned by the operating system to identify the process in the processor.<8:15>.
832 Guardian Procedure Calls (M)