BPX1PST (pthread_setintrtype) example
The following code sets the interruption type of the calling
thread and returns the previous interruption type. For the callable
service, see pthread_setintrtype (BPX1PST, BPX4PST) — Examine and change the interrupt typepthread_setintrtype (BPX1PST, BPX4PST) — Examine and change the interrupt type.
For the data structure, see BPXYCONS — Constants used by services.
AMODE 64 callers use BPX4PST (pthread_setintrtype) example.
CALL BPX1PST, Examine and change interrupt type +
(INTRTYPE, Input: Interrupt type BPXYCONS +
RETVAL, Return value: 0 or -1 +
RETCODE, Return code +
RSNCODE), Reason code +
VL,MF=(E,PLIST) ----------------------------------