MPE/iX Intrinsics Reference Manual (32650-90905)
308 Chapter6
Command Deļ¬nitions (FLUSHLOG-GETUSERMODE)
GETPROCINFO
GETPROCINFO
NM and CM callable.
Returns status information about the parent or a child process. Process handling (PH)
capability is required.
Syntax
I32 I16V
processinfo
:=GETPROCINFO(
pin
);
Functional Return
processinfo
32-bit signed integer (assigned functional return)
Returns the process management information about a parent or child
process:
Bits Value/Meaning
31:1
Activity state:
0 Process suspended
1 Process active
29:2 Suspension condition:
If bit (31:1)=0:
00 Not used
01 Parent activation source
10 Child activation source
11 Either parent or child activation source
25:4 Reserved for the operating system
23:2 Origin of the last ACTIVATE intrinsic call:
00 operatiang system activation
01 Parent activation
10 Child activation
11 Not used
20:3
Queue characteristics:
001 DS or ES priority class
010 CS priority class
100 Linearly scheduled (AS, BS, or master queue)
16:4 Reserved for the operating system