Chapter 13. Thread Synchronization
POSIX supports mutex locks for short-term locking and condition variables for waiting on events of unbounded duration. Signal handling in threaded programs presents additional complications that can be reduced if signal handlers are replaced with dedicated threads. This chapter illustrates these thread synchronization concepts by implementing controlled access to shared objects, reader-writer synchronization and barriers.
POSIX Synchronization Functions
This chapter discusses mutex locks, conditions variables ...
Get Unix™ Systems Programming: Communication, Concurrency, and Threads 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.