[Return to Bookshelf] [Contents] [Previous Section] [Next Section] [Index] [Help]


B.4 Compiling OpenVMS Images Using the POSIX 1003.4a Draft 4 Standard

When compiling threaded applications in the C Language that use the POSIX 1003.4a Draft 4 standard interface or its exception handling interface, define PTHREAD_USE_D4 on the compiler command line.

For example:

cc/define=PTHREAD_USE_D4 myprog.c

This will include the proper header file for you (pthread_d4.h), so that you do not need to modify your source includes.