TNS/R Native Application Migration Guide

Guardian API Migration Tasks
TNS/R Native Application Migration Guide523745-001
9-9
Using Procedures With pTAL Data Types
Using Procedures With pTAL Data Types
The following procedures use pTAL data types that the support addresses WADDR,
BADDR, EXTADDR, and PROCPTR:
ADDRESS_DELIMIT_
AWAITIO
AWAITIOX
CHECK^FILE
DNUMIN
ENFORMSTART
GETPOOL
HEAPSORT
HEAPSORTX
INITIALIZER
MEASWRITE_DIFF_
NUMIN
POOL_CHECK_
PROCESS_SPAWN_
SEGMENT_ALLOCATE_
SEGMENT_GETINFO_
SEGMENT_USE_
SET^FILE
SORTERROR
SORTERRORDETAIL
SORTERRORSUM
SORTMERGEFINISH
SORTMERGERECEIVE
SORTMERGESEND
SORTMERGESTART
SORTMERGESTATISTICS
Use the pTAL compiler syntax checking option to detect if a pTAL program requires
any changes. C and C++ programs do not require changes. See the procedure’s
description in the Guardian Procedure Calls Reference Manual for more details.
Writing Multithreaded Programs
Native processes do not maintain the TNS register and stack architecture. Thus, user-
written multithreaded programs that directly manipulate TNS registers and the stack
require changes to be converted to native mode. Programs must use a new set of
multithreaded support procedures. The multithreaded support procedures enable
programs to save and restore thread context and to create the context for new threads.
Both TNS and native programs can use the multithread support procedures. See
Support Note S96001, “T9050: User-Level TNS/R Native Thread Primitives” for details.