Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (G)
Guardian Procedure Calls Reference Manual—522629-013
6-5
GETCRTPID Procedure
(Superseded by PROCESS_GETINFOLIST_
GETCRTPID Procedure
(Superseded by PROCESS_GETINFOLIST_
Procedure )
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Condition Code Settings
Considerations
Example
Summary
The GETCRTPID procedure is used to obtain the 4-word CRTPID (which contains the
process name or creation timestamp in words [0:2] and
cpu,pin in word [3])
associated with a process. The term CRTPID is synonymous with process ID as used
in this manual.
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
Parameters
cpu,pin input
INT:value
is the processor number and PIN number of the process whose CRTPID is
returned (see
process-id[3] below for the format). The PIN number is used to
identify a process’s process control block (or PCB) in a given processor.
Note. This procedure is supported for compatibility with previous software and should not be
used for new development.
CALL GETCRTPID ( cpu,pin ! i
,process-id ); ! o