Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (N)
Guardian Procedure Calls Reference Manual522629-013
10-20
NEWPROCESS Procedure
(Superseded by PROCESS_LAUNCH_ Procedure )
used with PIC programs). Refer to the ld and rld Reference Manual for more
information about dynamic-link libraries (including native user libraries used with
PIC programs)
Library conflict—NEWPROCESS error
The library file for a process can be shared by any number of processes.
However, when a TNS or non-PIC native program file is shared by two or more
processes, all processes must have the same user library configuration; that is, all
processes sharing the program either have the same user library, or they have no
user library. An error 9 (“library conflict”) occurs when a copy of the running
program runs with a different library configuration than was specified in the call to
NEWPROCESS.
Startup messages and NEWPROCESS
The caller of NEWPROCESS has the responsibility to format and send a startup
message to the new process, if one is required. For more information on the
startup message, refer to the
Guardian Procedure Errors and Messages Manual.
Device subtypes for named processes
Process device subtype is an object file attribute that can be set when compiling or
linking a program. FILEINFO, DEVICEINFO, and other information procedures
return the device type and subtype of a named process. A process with a device
subtype other than zero must be named.
There are 63 device subtypes available (0 is the default subtype):
48 - 63 are for general use. Any user may create a named process with a
process subtype in this range.
1 - 47 are reserved for definition by HP. Currently, 1 is a CMI process, 2 is a
security monitor process, 30 is a device simulation process, and 31 is a
spooler collector process. Additionally, for subtypes 1 - 15, if the caller
of NEWPROCESS does not have a creator access ID of the Super ID,
the object file is not LICENSED, or the object file is not PROGIDed to
the Super ID, NEWPROCESS rejects the request with an error.
HP reserved process names
The operating system reserved process name space includes the following names:
$X
name, $Yname, and $Zname, where name is from 1 through 4 alphanumeric
characters. You should not use names of this form in any application. System-
generated process names (from PROCESS_LAUNCH_, PROCESS_SPAWN_,
PROCESS_CREATE_ , NEWPROCESS[NOWAIT], PROCESSNAME_CREATE_ ,
CREATEPROCESSNAME and CREATEREMOTENAME procedures) are selected
from this set of names. Refer to Appendix B, Reserved Process Names
for more
information about reserved process names.
Creator access ID (CAID) and process access ID (PAID)