Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (M)
Guardian Procedure Calls Reference Manual—522629-013
9-61
MONITORCPUS Procedure
MONITORCPUS Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Example
Summary
The MONITORCPUS procedure instructs the operating system to notify the application
process if a designated processor module either:
•
Fails (indicated by the absence of an operating system “I’m alive” message)
•
Returns from a failed to an operable state (that is, reloaded by means of a
command interpreter RELOAD command)
The calling application process is notified by means of a system message read through
the $RECEIVE file.
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
cpu-mask input
INT:value
is a bit that is set to “1,” corresponding to each processor module to be monitored:
<0> 1 processor module 0 to be monitored
<1> 1 processor module 1 to be monitored
.
.
.
<14>
1 processor module 14 to be monitored
<15> 1 processor module 15 to be monitored
0 means no notification occurs.
#include <cextdecs(MONITORCPUS)>
void MONITORCPUS ( short cpu-mask );
CALL MONITORCPUS ( cpu-mask ); ! i