CSE 221 - Operating Systems - Notes on "Monitors, an OS Structuring Concept"

Q: What are “monitor invariant” I and “condition” B, and why are they important in the discussion of monitors?

Introduction

Interpretation

wait implemented as

condcount++;
urgentcount > 0 ? V (urgent) : V(mutex)
P(condsem) // this always waits
condcount--;

signal implemented as

urgentcount++;
condcount > 0 ? V(condsem); P(urgent) : ();
urgentcount--;

Lecture Notes

CSE 221 - Operating Systems - Notes on "Monitors, an OS Structuring Concept" - zac blanco