TAL Reference Manual
Compiler Directives
TAL Reference Manual—526371-001
16-43
Example of HEAP Directive
Example of HEAP Directive
This example sets the size of the user run-time heap for the large memory model:
?HEAP 200
HIGHPIN Directive
HIGHPIN sets the HIGHPIN attribute in a D-series object file.
Usage Considerations
HIGHPIN can appear in the compilation command or anywhere in the source code.
HIGHPIN can appear any number of times in a compilation. It need not appear in each
source file, just once in the compilation unit.
When the operating system creates a process, it assigns a process identification
number (PIN) to the process. D-series systems support the following ranges of PINs:
To run an object file at high PIN from the TACL prompt, the following conditions must
be met:
•
Your processor is configured for more than 256 process control blocks (PCBs).
•
High pins are available in your processor.
•
Your object file and user library, if any, have the HIGHPIN attribute set.
•
The TACL HIGHPIN built-in variable or the HIGHPIN run-time parameter is set.
If the HIGHPIN attribute of the object file is set, the operating system assigns a high
PIN, if available. If no high PINs are available, the operating system assigns a low PIN.
Each object file in the target file must have the HIGHPIN attribute set. You can set the
HIGHPIN attribute of an object file either:
•
During compilation by using the HIGHPIN directive
•
After compilation by using a Binder command
If the preceding conditions are met, your object file can create another process to run
at high PIN by specifying the PROCESS_CREATE_ system procedure with create-
options bit 15 set to 0 and bit 10 set to 1.
Low-PIN range 0 through 254
High-PIN range 256 through the maximum number supported for the
processor in which the process runs
VST1627.vsd
HIGHPIN