11.8. POSIX threads

IEEE set up the POSIX committee to specify a standard UNIX core. Applications that run above a POSIX compliant UNIX should run above any other. POSIX has been adopted widely and here we focus on the threads package and its support for synchronization. More detail may be found in the IEEE POSIX 1003.4a (pthread) standard. An example of a specific implementation is DECthreads, Digital's Multi-threading Run-Time Library for OSF/1.

POSIX threads execute within (and share) a single address space. Mutexes and condition variables, see below, are provided for synchronization.

11.8.1. Objects, handles and attributes

An object, such ...

Get Operating Systems: Concurrent and Distributed Software Design now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.