Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (P)
Guardian Procedure Calls Reference Manual—522629-013
12-181
PROCESS_SPAWN_ Procedure
If you specify the default value 0D, the process uses the same user library file (if
any) as it did the last time it was run (or with no file if that was how it was run) or
with the library file currently executing. Write permission to the program file is not
required. Refer to the
Binder Manual for more information about TNS user
libraries. Refer to the
nld and noft Manual for more information about native user
libraries and shared run-time libraries. Refer to the
ld and rld Reference
Manualmanual for more information about dynamic-link libraries (including native
user libraries used with PIC programs).
If an external reference cannot be resolved, it is modified to invoke the debugger
when referenced. PROCESS_SPAWN_ then returns a warning 14 in the
Z^TPCERROR field of the
process-results parameter and issues a warning
message to the home terminal the first time the program is run. (The warning 14
and the terminal message are issued again the first time the program is run
following a system load).
Z^SwapFileName
is not used, but you can provide it for informational purposes. If supplied, the
swap file must be on the same system as the process being created. If the
supplied name is in local form, the system where the process is created is
assumed. Processes swap to a file that is managed by the Kernel-Managed Swap
Facility. For more information on this facility, refer to the
Kernel-Managed Swap
Facility (KMSF) Manual. To reserve swap space for the process, specify the
Z^SPACEGUARANTEE field. Alternatively, use the
nld utility to set TNS/R native
process attributes or the
eld utility to set TNS/E native process attributes.
For TNS processes on RVUs preceding the D42 RVU, this parameter is the
address of the null-terminated OSS pathname of the Guardian swap file to be used
for the user data stack segment of the process. The swap file must be an
unstructured file. If the pathname is relative, it is resolved using the OSS current
working directory.
The default value is 0D.
See ”Considerations for Resolving File Names” and “DEFINE Considerations” for
more information about the swap files.
Z^ExtSwapFileName
for TNS processes, if set to the default value, 0D, the Kernel-Managed Swap
Facility (KMSF) allocates swap space for the default extended data segment of the
process. For more information on this facility, refer to the
Kernel-Managed Swap
Facility (KMSF) Manual.
for TNS processes, this parameter is the address of a null-terminated OSS
pathname of the Guardian swap file to be used for the default extended data
segment of the process. The swap file must be an unstructured file. If the
pathname is relative, it is resolved using the OSS current working directory.