Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (P)
Guardian Procedure Calls Reference Manual522629-013
12-89
PROCESS_GETINFOLIST_ Procedure
30: process time
See the
process-time parameter returned by the PROCESS_GETINFO_
procedure.
31: wait state
returns the wait field of the process indicating what, if anything, the process is
waiting on. The bits are defined as follows:
<0> Wait on LSIG staus
<1> Wait on LPIPE status
<2:7> (Reserved)
<8> Wait on PON (processor power on)
<9> Wait on IOPON (I/O power on)
<10> Wait on INTR (interrupt)
<11> Wait on LINSP (Inspect event)
<12> Wait on LCAN (message system: cancel)
<13> Wait on LDONE (message system: done)
<14> Wait on LTMF (TMF request)
<15> Wait on LREQ (message system: request)
The bits in the wait field are numbered from left to right. Thus, if octal 3 (%003) is
returned, it means that bits 14 and 15 are equal to 1.
32: process state
returns the state of the process. The bits are defined as follows:
<0> Privileged process
<1> Process is waiting for memory manager service, probably for a page
fault.
<2> Process is on the ready list.
<3> System process
<4:5> (reserved)
<6> Memory access breakpoint in system code
<7> Process not accepting any messages
<8> Temporary system process
<9> Process has logged on (called USER_AUTHENTICATE_ or
VERIFYUSER).
<10> In a pending process state
<11:15> The process state, where:
0 unallocated process
1starting
2 runnable (OSS process state equivalent is CONT)
3 suspended (OSS process state equivalent is STOP)
4 (reserved)
5 Debug breakpoint
6 Debug trap or signal
7 Debug request
8 Inspect memory-access breakpoint
9 Inspect breakpoint
10 Inspect trap or signal