Guardian Programmer's Guide

Table Of Contents
Creating and Managing Processes
Guardian Programmer’s Guide 421922-014
16 - 18
Process Execution
Process Execution
From creation to deletion, a process enters and leaves several process states.
Figure 16-5 shows the various process states that a process can be in.
The states shown in Figure 16-5 are described as follows:
Figure 16-5. Process States
Debug and
Inspect
Either the Debug or Inspect debugger has been invoked on the
process. The Debug and Inspect state has several substates:
memory access breakpoint (MAB), breakpoint (BKPT), trap
(TRAP), and request (REQ). The trap state applies when
debugging was entered because of a trap or signal. See
Section 25, Debugging, Trap Handling, and Signal Handling, for
information on process debugging.
Runnable All process resources are available. The process is executing,
ready to execute, or awaiting the services for the memory
manager (because of a page fault).
Saveabend The process is waiting for a SAVEABEND file to be created by
the Inspect program.
Starting This is a temporary state that occurs while the process is
starting up.
Stopping This is a temporary state that occurs while the process is being
deleted.
Suspended The process is waiting indefinitely as the result of a
PROCESS_SUSPEND_ call. The process remains in this state
until the PROCESS_ACTIVATE_ call makes the process
runnable again.
VST084.VSD