Guardian Application Conversion Guide
Converting a C Program to Run at a High PIN
Converting C Applications
096047 Tandem Computers Incorporated 5–11
Converting a
C Program to Run
at a High PIN
This subsection describes how to convert your C program to run at a high PIN under
the D-series operating system. Figure 5-2 shows a typical application. The box shows
which processes this part of the conversion applies to. Converting a C program to run
at a high PIN applies to both of these processes.
Figure 5-2. Converting a C Program to Run at a High PIN
$SRV
$REQ
C Requester
Process
C Server
Process
TACL
To convert your program, you must:
Set the HIGHPIN object-file attribute (which tells the system that your program
can run at a high PIN)
Make sure that each library file your program uses also has its HIGHPIN object-
file attribute set (and is capable of running at a high PIN)
Declare PIN variables large enough to hold high-PIN values
Convert all MYPID Guardian procedure calls
These topics are described in the following subsections.