How are the wait or signal operations for monitor different
from those for semaphores?
Answer / guest
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.
Is This Answer Correct ? | 7 Yes | 4 No |
What are interrupts?
Give some benefits of multithreaded programming.
What is fragmentation?
What is a full form of ok?
What is a socket?
Can bad sectors cause blue screen?
Is Windows NT a full blown object oriented operating system? Give reasons.
What is the difference between soft and hard links?
What is the basic function of paging?
Write a function that responds to a click anywhere on the page by displaying an alert dialog. Display the event name if the user held Shift during the mouse click. Display the element name that triggered the event if the user held Ctrl during the mouse click.
What are the different types package forms?
What is the shortest definition of os?