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


A.2.3 Building Applications That Use the CMA Or Draft 4 POSIX 1003.4a Interfaces

The POSIX 1003.4a, Draft 4 interface of DECthreads is being retired in a future release. Applications that were written using the POSIX 1003.4a, Draft 4 API should be migrated to the new IEEE Std 1003.1c-1995, POSIX System Application Program Interface provided by DECthreads. A compatibility mode for the draft 4 POSIX 1003.4a API has been provided in this release to help ease migration. This compatibility mode will be removed in a future release.

Applications utilizing these interface should be compiled using the following:

% cc -o myprog myprog.c -threads

This will also cause pthread.h to include the proper dce/pthread_ d4.h file for you with no source file modification.