Semaphores
Define a semaphore to guard the critical section
The semaphore has two operations:
- P() is the entry procedure
- V() is the exit procedure
Who came up with those names?
- They’re from the Dutch for probieren (to try) and verhogen (to increment)
- Thanks, Dijkstra