Chapter 10. Low-level synchronization: Implementation

10.1 Process synchronization compared with event signal and wait

10.2 Mutual exclusion

10.3 Hardware support for mutual exclusion

10.4 Semaphores

10.5 Styles of use of semaphores

10.6 Implementation of semaphore operations

10.7 Summary

Concurrent processes need to work together in order to achieve the goals of the system they comprise. They may need to synchronize and to access common information. We now look at how this requirement for interaction is met. As specified in Section 9.5:

  • Condition synchronization: Cooperating processes need to synchronize with each other and to do this need to be able to WAIT for each other and SIGNAL to each other.

  • Mutual exclusion: Competing processes need to WAIT ...

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.