PreviousWriting Multi-threaded Applications

Chapter 4: Multi-threading Compiler Directives

The following two directives effect the serialization and reentrancy of multi-threaded programs:

The following Compiler directives can optimize the performance of multi-threading programs:

The following directive settings are made by default:

PARAMCOUNTCHECK NOFASTCALLS NOREENTRANT NOSERIAL FIXOPT

Note that if you set the FASTLINK directive with these default directives, it will not work as TYPECHECK and FIXOPT are set. If you want your program to be optimized for speed, set the directives as follows:

NOTYPECHECK 
FASTCALLS 
NOREENTRANT 
NOSERIAL 
NOFIXOPT 
FASTLINK

However, note that you might have to change your program to take advantage of these Compiler directives.


Copyright © 1998 Micro Focus Limited. All rights reserved.
This document and the proprietary marks and names used herein are protected by international law.
PreviousWriting Multi-threaded Applications