Computer Science Fundamentals
Operating Systems
Subjective
Mar 07, 2013
How are the wait/signal operations for monitor different from those for semaphores?
Detailed Explanation
If a process in a monitor signal and no task is waiting on the condition variable, the signal is lost. So this allows easier program design. Whereas in semaphores, every operation affects the value of the semaphore, so the wait and signal operations should be perfectly balanced in the program
Discussion (0)
No comments yet. Be the first to share your thoughts!
Share Your Thoughts