Signal or wait operations for monitor

How is the signal or wait operations for monitor dissimilar from those for semaphores?

E

Expert

Verified

If a process in a monitor signal and no task is waiting on the condition variable, the signal is misplaced. So this permits easier program design. But in semaphores, each and every operation affects the value of the semaphore, so the signal and wait operations must be perfectly balanced in the program.

   Related Questions in Operating System

©TutorsGlobe All rights reserved 2022-2023.