Practical Unix Programming:
A Guide to Concurrency, Communication, and Multithreading

by Kay. A. Robbins and Steven Robbins

Chapter 8: Critical Sections and Semaphores

Programs that manage shared resources must execute portions of code called critical sections in a mutually exclusive manner. This chapter discusses the protection of critical sections using semaphores and related synchronization mechanisms. In addition to presenting an overview of the semaphore abstraction, the chapter covers both POSIX.1b semaphores and System V semaphores.

Next chapter

Back to chapter summaries