Next: Language Features, Previous: Debugging Support, Up: Top
This chapter describes the pthreads (POSIX threads) library. This library provides support functions for multithreaded programs: thread primitives, synchronization objects, and so forth. It also implements POSIX 1003.1b semaphores (not to be confused with System V semaphores).
The threads operations (‘pthread_*’) do not use errno. Instead they return an error code directly. The semaphore operations do use errno.