The following information provides guidelines for writing multi-threaded programs using the threads library (libpthreads.a). The AIX threads library is based on the emerging POSIX 1003.1c standard. For this reason, the following information presents the threads library as the AIX implementation of the POSIX standard.
If you want to learn how to write programs using multiple threads, you should read the topics in sequential order. If you are looking for specific information, choose one of the following topics:
Chapter 9, Parallel Programming introduces major concepts concerning threads.
Chapter 10, Programming on Multiprocessor Systems highlights specific problems when writing programs for symetric multiprocessor systems.
Also see Chapter 24, Subroutines, Example Programs, and Libraries.