Guardian Procedure Calls Reference Manual

SUSPENDPROCESS Procedure (Superseded by PROCESS_SUSPEND_
Procedure)
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameter
Condition Code Settings
Considerations
OSS Considerations
Example
Summary
NOTE: This procedure is supported for compatibility with previous software and should not be
used for new development.
The SUSPENDPROCESS procedure puts a process or process pair into the suspended state,
preventing that process from being active (that is, executing instructions). (A process is removed
from the suspended state and put back into the ready state if it is the object of a call to the
ACTIVATEPROCESS procedure.)
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 SUSPENDPROCESS ( process-id ); ! i
Parameter
process-id
input
INT:ref:4
is a four-word array containing the process ID of the process to be suspended, where:
Process name or creation timestamp[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>
If process-id[0:2] references a process pair and process-id[3] is specified as -1, then
both members of the process pair are suspended.
Condition Code Settings
indicates that SUSPENDPROCESS failed, or no process designated process-id exists.< (CCL)
indicates that process-id is suspended.= (CCE)
does not return from SUSPENDPROCESS.> (CCG)
1406 Guardian Procedure Calls (S)