Guardian Programmer's Guide

Table Of Contents
Creating and Managing Processes
Guardian Programmer’s Guide 421922-014
16 - 20
Creating Processes
The PROCESS_CREATE_ procedure does not allow you to specify values for some of
the attributes that are associated with TNS/R native processes. Because it has less
function than the PROCESS_LAUNCH_ procedure, PROCESS_CREATE_ is not
discussed further in this section. (However, PROCESS_CREATE_ continues to be
used in code examples in other sections of this guide.)
The PROCESS_SPAWN_ procedure allows you to create an Open System Services
(OSS) process on the local or a remote TNS/R CPU, but it does not create Guardian
processes.
To create processes interactively, you can use the RUN command. See the TACL
Reference Manual for details.
The process creation examples in this section use the PROCESS_LAUNCH_
procedure. The PROCESS_LAUNCH_ procedures takes several parameters. The
only required parameter is a structure that allows you to specify values establishing the
following properties of the process:
Whether the process will be named or unnamed
Whether the creation will be a waited or nowait operation
Other process attributes, including:
Whether the process will run at a high PIN or low PIN
The home terminal of the process
The size of the user data space (TNS processes only)
The size of the process file segment (PFS)
Any library file to be included in the process
The amount of swap space to be guaranteed the process by the
Kernel-Managed Swap Facility (KMSF)
The device subtype of the process
The CPU where the process is to run
The way DEFINEs are propagated to the new process
The process priority
The following paragraphs describe how to create a process and, in doing so, how to
set the above attributes.