Guardian Application Conversion Guide
Making the C Compiler Run as a High PIN Process
Converting C Applications
5–10 096047 Tandem Computers Incorporated
For examples of Guardian procedure calls, refer to Section 3, “Converting TAL
Applications.” If you are converting a C program, you must convert the TAL
procedure calls shown in Section 3 to C. The Common Run-Time Environment (CRE)
Programmer’s Guide provides information about converting TAL procedure calls to C.
Note If you are converting an existing C program (or writing a new program), Tandem recommends that you
use Guardian procedures rather than ANSI or supplementary I/O C functions for:
Performing interprocess communication
Opening $RECEIVE and reading or replying to system messages
Making the C Compiler
Run as a High-PIN
Process
When you start the C compiler using the TACL RUN command, TACL calls the
PROCESS_CREATE_ procedure to create the C compiler process and the resulting
BINSERV and SYMSERV processes at low PINs.
To run the C compiler process (and the BINSERV and SYMSERV processes) at a high
PIN, you must use the Binder program to set the HIGHPIN object-file attribute to ON
in the C compiler object file (provided you have the proper authority to change this
file). TACL then runs the C compiler (and the BINSERV and SYMSERV processes) at a
high PIN if one is available. For more information about TACL, refer to the TACL
Reference Manual.