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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.