The pause service suspends execution of the calling thread until delivery of a signal whose action is either to execute a signal-catching function or to end the thread.
Operation | Environment |
---|---|
Authorization: | Supervisor state or problem state, PSW key when the process was created (not PSW key 0) |
Dispatchable unit mode: | Task |
Cross memory mode: | PASN = HASN |
AMODE (BPX1PAS): | 31-bit |
AMODE (BPX4PAS): | 64-bit |
ASC mode: | Primary mode |
Interrupt status: | Enabled for interrupts |
Locks: | Unlocked |
Control parameters: | All parameters must be addressable by the caller and in the primary address space. |
|
AMODE 64 callers use BPX4PAS with the same parameters.
The name of a fullword in which the pause service returns -1 if completion of a signal-handling function causes control to be returned. The pause service does not otherwise return to its caller.
Return_code | Explanation |
---|---|
EINTR | A signal was received and handled successfully. |
The name of a fullword in which the pause service stores the reason code. The pause service returns Reason_code only if Return_value is -1. Reason_code further qualifies the Return_code value. For the reason codes, see z/OS UNIX System Services Messages and Codes.
See The relationship of z/OS UNIX signals to callable services.
For an example using this callable service, see BPX1PAS (pause) example.