Resources: BW - Chapter 5 -Shared variable-based synchronization and communication.pdf


Inter-task communication is usually based upon either shared variables or message passing.

  • Shared variables are ideal in shared memory multiprocessor systems.
  • Message passing is an ideal abstraction for a distributed system where there is potentially no shared physical memory, but also works via shared memory. This will also be the focus of this chapter.

5.1 Critical Region Mutual Exclusion

5.5 Conditional Critical Region

5.6 Monitors