intro(3thr)
Name
intro − introduction to the ULTRIX DECthreads library, which contains routines that allow you to perform multithreaded operations.
Syntax
#include <pthread.h>
cc [options] files −lcma [libraries]
Description
The DECthreads routines are based on Draft 4 of the IEEE standard for multithreaded programming, POSIX 1003.4a. This interface reports errors by setting the global errno value and returning a −1.
When you use the library routines in a C program, compile it with the -lcma option to include the libcma library. For example:
% cc -o prog prog.c -lcma
The routines for the DECthreads library are located in the /usr/lib/libcma.a directory.
The following DECthreads header files are located in the /usr/include/dce directory:
cma.h
cma_config.h
cma_errno.h
exc_handling.h
cma_px.h
cma_sigwait.h
cma_stdio.h
cma_ux.h
cmalib_ctrlx.h
pthread.h
pthread_exc.h
There is a message file associated with the DECthreads routines. It is located in: /usr/lib/nls/msg/en_US.88591/dcethd.cat.
See Also
Guide to DECthreads