C/C++ Programmer's Guide (G06.25+)
Compiler Pragmas
HP C/C++ Programmer’s Guide for NonStop Systems—429301-008
13-43
HIGHREQUESTERS
If these four conditions are met, the operating system assigns a high PIN, if
available. If no high PINs are available, the operating system assigns a low PIN.
You can set the HIGHPIN flag of TNS and accelerated object files either:
°
During compilation by using the HIGHPIN pragma
°
After compilation using a Binder command
You can set the HIGHPIN flag of a native object file either:
°
During compilation by using the HIGHPIN pragma, if an executable file is
produced by the compilation
°
After compilation and linking of an executable object file by using an eld, ld,
or nld command
•
For more information on using high PINs and converting a C program to run at a
high PIN, see the Guardian Programmer’s Guide.
HIGHREQUESTERS
The HIGHREQUESTERS pragma specifies that the object file supports high PIN
requesters if the object file includes the main function.
The pragma default settings are:
Usage Guidelines
•
For the TNS C compiler, Cfront, and the TNS c89 utility, the HIGHREQUESTERS
pragma can be placed in the source text or in the RUN command that executes the
compiler.
When you bind several object files together, Binder sets the HIGHREQUESTERS
attribute in the target object file if, and only if, the object file with the main function
has the HIGHREQUESTERS attribute.
•
For the native C and C++ compilers, the HIGHREQUESTERS pragma can be
entered on the compiler RUN command line (not in the source file) or be specified
with the -W highrequesters flag of the c89 utility.
[NO]HIGHREQUESTERS
SYSTYPE GUARDIAN SYSTYPE OSS
TNS C compiler Not set Not set
G-series TNS c89 utility HIGHREQUESTERS HIGHREQUESTERS
TNS/R native C and C++ compilers HIGHREQUESTERS HIGHREQUESTERS
Native c89 utility HIGHREQUESTERS HIGHREQUESTERS
TNS/E native C and C++ compilers HIGHREQUESTERS HIGHREQUESTERS