Open System Services System Calls Reference Manual (G06.25+, H06.03+)
tdm_fork(2) OSS System Calls Reference Manual
The following fields are meaningful:
typedef struct process_extension {
long pe_len;
char *pe_library_name;
char *pe_swap_file_name;
char *pe_extswap_file_name;
short pe_priority;
short pe_cpu;
short pe_name_options;
char filler_1[2];
char *pe_process_name;
char *pe_hometerm;
short pe_memory_pages;
short pe_jobid;
short pe_create_options;
char filler_2[2];
char *pe_defines;
short pe_defines_len;
short pe_debug_options;
long pe_pfs_size;
short pe_OSS_options;
char filler_3[2];
long pe_mainstack_max;
long pe_heap_max;
long pe_space_guarantee;
} process_extension_def;
The input structure passes the following information:
pe_len Specifies the size of the structure in bytes. This value is set by #define
DEFAULT_PROCESS_EXTENSION and should not be changed.
pe_library_name
Is not used with the tdm_fork() function.
pe_swap_file_name
Points to a null-terminated string specifying the name of a file in the Guardian
file system to be used as the swap file for the stack segment. For example, if the
Guardian filename is $A.B.C, then the name used here is /G/a/b/c.
This field is not used in the current release of Open System Services. It exists for
compatibility with older releases. Any specified value is checked for validity but
otherwise ignored.
pe_extswap_file_name
Points to a null-terminated string specifying the name of a disk file in the Guar-
dian file system to be used as the swap file for the extended data segment. For
example, if the Guardian filename is $A.B.D, then the name used here is
/G/a/b/d.
This field is used only for G-series TNS or accelerated child processes. If a
value is specified for this field for native object files, the specified value is vali-
dated but otherwise ignored.
By default, the new process uses KMSF to manage its extended swap segment.
HP recommends using the default.
8−34 Hewlett-Packard Company 527186-003