24.12.2013 Views

TOPS-10 Monitor Calls Manual Volume 2 AA-K039D ... - Trailing-Edge

TOPS-10 Monitor Calls Manual Volume 2 AA-K039D ... - Trailing-Edge

TOPS-10 Monitor Calls Manual Volume 2 AA-K039D ... - Trailing-Edge

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

PIJBI [CALLI 175]<br />

22.125 PIJBI. [CALLI 175]<br />

FUNCTION<br />

The PIJBI. monitor call allows one job to interrupt another with a<br />

software interrupt. The interrupted job must be waiting for the<br />

interrupt; it cannot be busy handling a previous interrupt. The<br />

receiver enables cross-job interrupts by using the PISYS. UUO (non-I/O<br />

condition .PCJBI).<br />

CALLING SEQUENCE<br />

MOVE ac, [XWD target,status]<br />

PIJBI. ac,<br />

error return<br />

skip return<br />

In the calling sequence, the program supplies the following variables:<br />

o target is either the job context number of the job to<br />

interrupt, or the job number of the job to interrupt.<br />

o status is the status of the interrupt. The status word is<br />

described in <strong>Volume</strong> 1.<br />

Specifically, the ac contains the following:<br />

Bits<br />

0-8<br />

9-17<br />

18-35<br />

Symbol<br />

PS.CTX<br />

PS.JOB<br />

PS.STS<br />

Contents<br />

Context number or zero.<br />

Job number. (A -1 in the left half of this<br />

word indicates the job that is executing<br />

the monitor call.)<br />

status.<br />

The job to be interrupted must be enabled for cross-job interrupts or<br />

else the call will fail. Note that this situation requires<br />

cooperation between two jobs, much like ENQ/DEQ or IPCF. If the<br />

target job is processing an interrupt, the sender must try again<br />

because requests are not queued.<br />

SKIP RETURN<br />

The interrupted job will receive a word of the following form:<br />

[source"status]<br />

In the argument word:<br />

o source is the job context number of the job that performed<br />

the PIJBI. call.<br />

o<br />

status is the status that the job included in the call.<br />

22-312

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!