Like the process table, it disables interrupts when manipulating the semaphore table. Look at Fig. 2-11 in text. Because there could be multiple producers and consumers and the buffer size is greater than one.
Monitors differ in that they support guard procedures .
Java programmers can use the keyword synchronized to indicate methods of a class where only one method can execute at a time. Also look at Java example. Synchronization using Monitors As described above, monitors solve the mutual exclusion problem. Look at Fig. 2-14 as an example.