TNS/R Native Application Migration Guide
Guardian API Migration Tasks
TNS/R Native Application Migration Guide—523745-001
9-7
Using Procedures Enhanced to Support the Native
Architecture
Using Procedures Enhanced to Support the
Native Architecture
The following procedures have been enhanced to support the native processes, native
object files, and native shared run-time libraries (SRLs):
•
NEWPROCESS
•
NEWPROCESSNOWAIT
•
OBJECTFILE_GETINFOLIST_
•
PROCESS_CREATE_
•
PROCESS_GETINFOLIST_
•
PROCESSINFO
•
PROCESS_SETINFO_
•
PROCESS_SPAWN_
Depending on the operations performed by these procedures, you might need to
specify new or different parameters. See the procedure’s description in the Guardian
Procedure Calls Reference Manual for details.
Additionally, the NEWPROCESS, NEWPROCESSNOWAIT, and
PROCESS_CREATE_ procedures have been superseded by the
PROCESS_LAUNCH_ procedure. The PROCESSINFO procedure has been
superseded by the PROCESS_GETINFOLIST_ procedure. You might need to replace
calls to these superseded procedures with calls to the replacement procedures to
specify parameters specific to the native architecture.
Because the PROCESS_LAUNCH_ procedure is the only procedure to fully support
native process creation, it is recommended that you replace calls to the
NEWPROCESS, NEWPROCESSNOWAIT, and PROCESS_CREATE_ procedures
with calls to the PROCESS_LAUNCH_ procedure when converting to native mode.
Using Procedures Affected by KMSF
The Kernel-Managed Swap Facility (KMSF) manages the swap space for native
processes, and to a lesser extent, TNS processes. For more information on this facility,
see Kernel-Managed Swap Facility (KMSF) on page 1-16. KMSF affects procedures
that specify and return information on swap space.
The following procedures can be used to specify or return the swap volume or file of
the user data segment for a TNS process:
•
NEWPROCESS
•
NEWPROCESSNOWAIT
•
PROCESS_CREATE_
•
PROCESSINFO
•
PROCESS_GETINFO_