9.2 Suppressing Name Conflicts

Some people may wish to use CONVERSE pthreads on machines that already have a pthreads implementation in the standard library. This may cause some name-conflicts as we define the pthreads functions, and the system include files do too. To avoid such conflicts, we provide an alternative set of names beginning with the word Cpthread. These names are interchangable with their pthread equivalents. In addition, you may prevent CONVERSE from defining the pthread names at all with the preprocessor symbol SUPPRESS_PTHREADS:

#define SUPPRESS_PTHREADS
#include <cpthreads.h>



November 23, 2009
Charm Homepage