June 2003
Intermediate to advanced
912 pages
21h 37m
English
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.
This chapter discusses mutex locks, conditions variables ...
Read now
Unlock full access