Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (P)
Guardian Procedure Calls Reference Manual—522629-013
12-160
PROCESS_SETINFO_ Procedure
•
Primary
If a switch or a backup takeover occurs (causing the backup process to become
the new primary) through use of the checkpoint procedures, it is not necessary to
use PROCESS_SETINFO_ to set the primary attribute of the new primary. The
checkpoint procedures automatically identify the new primary process to the
operating system.
Safeguard Considerations
For information on processes protected by Safeguard, refer to the Safeguard
Reference Manual.
OSS Considerations
If PROCESS_SETINFO_ is used to change the priority of an OSS process, the same
security rules apply as for the OSS
kill() function. See the kill(2) function
reference pages either online or in the
Open System Services System Calls Reference
Manual for details.
Example
INT set^attribute^code := 42; ! set execution priority
.
.
err := PROCESS_SETINFO_ ( proc^handle , ,
set^attribute^code , new^priority ,
set^value^length );
Related Programming Manual
For programming information about the PROCESS_SETINFO_ procedure, refer to the
Guardian Programmer’s Guide.