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.

WAKE [CALLI 73]<br />

22.184 WAKE [CALLI 73]<br />

FUNCTION<br />

Sets the wake bit for a specified job.<br />

CALLING SEQUENCE<br />

MOVE I ac,jobno<br />

WAKE ac,<br />

error return<br />

skip return<br />

In the calling sequence, the program supplies the ~obno,<br />

number of a logged-in job (use -1 for the current Job).<br />

which is the<br />

You can design a real-time process control job to run other process<br />

control jobs when specific alarm conditions occur. WAKE can be called<br />

from an RTTRP job running at interrupt level; this allows the<br />

real-time job to wake its background quickly when necessary. See the<br />

RTTRP monitor call for restrictions on accumulators when calling from<br />

the interrupt level.<br />

If your job does not have the required privileges, the error return<br />

occurs and the monitor clears the ac. A JACCT or [1,2] job may WAKE<br />

any job. If any condition enabled in the last HIBER call occurs, the<br />

wake bit for the job is set. At the next HIBER call, the wake bit is<br />

cleared and the monitor returns at the skip return immediately. The<br />

wake bit prevents the job from oversleeping a wake condition. .<br />

SKIP RETURN<br />

The specified job is awake and resumes execution at the skip return<br />

for the HIBER call that made the job dormant.<br />

ERROR RETURN<br />

Your job did not have the required privileges.<br />

The ac is cleared.<br />

RELATED CALLS<br />

Refer to the HIBER monitor call.<br />

22-471

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

Saved successfully!

Ooh no, something went wrong!