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.

ENQC. [CALLI 153]<br />

22.41 ENQC. [CALLI 153]<br />

FUNCTION<br />

Returns information about the current state of ENQ/DEQ requests and<br />

sets access rights for the ENQ/DEQ facility (privileged). Refer to<br />

<strong>Volume</strong> 1 for more information about using the ENQ/DEQ calls. For more<br />

information about the contents of the argument block, refer to the<br />

ENQ. call.<br />

CALLING SEQUENCE<br />

Each function of the ENQC. call requires a different calling<br />

sequence. The calling sequence for each ENQC. function is described<br />

below, for the appropriate function.<br />

The ENQC. function codes and their meanings are:<br />

22.41.1 FUNCTION 0 (.ENQCS)<br />

Returns a 3-word status block for each specified lock.<br />

sequence for the .ENQCS function is:<br />

MOVE ac, [XWD .ENQCS,addr]<br />

MOVE I ac+l,buffer<br />

ENQC. ac,<br />

error return<br />

skip return<br />

The<br />

calling<br />

addr:<br />

buffer:<br />

EXP parameters<br />

XWD O,request-id<br />

EXP time limit<br />

first word of first lock block<br />

last word of last lock block<br />

BLOCK *3<br />

In the argument word:<br />

a<br />

addr is the address of the argument list.<br />

a buffer is the address of a buffer (of length locks*3) for<br />

storing the returned three-word status blocks.<br />

a parameters is a word of t~e form:<br />

B5+BI7+B35<br />

a size is the size of the header block (1 to 3) .<br />

a<br />

locks is the number of lock blocks in the argument list.<br />

a length is the length of each lock block (size plus number of<br />

locks times the length of each lock block) .<br />

The right half of addr+l may contain request-id, an<br />

request identifier.<br />

optional<br />

a<br />

time limit is an optional time limit for the request to be<br />

granted.<br />

22-119

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

Saved successfully!

Ooh no, something went wrong!