Writing Multi-threaded Applications | Library Routines for Multi-threading |
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
The FASTLINK directive will not work with the default directives PARAMCOUNTCHECK and FIXOPT. If you want your program to be optimized for speed, set the directives as follows:
NOPARAMCOUNTCHECK FASTCALLS NOREENTRANT NOSERIAL NOFIXOPT FASTLINK
However, you might have to change your program to take advantage of these Compiler directives.
Note: Some of these directives are not implemented on some platforms. For example, AIX does not support the FIXOPT directive.
Copyright © 2000 MERANT International Limited. All rights reserved.
This document and the proprietary marks and names
used herein are protected by international law.
Writing Multi-threaded Applications | Library Routines for Multi-threading |