How are the wait or signal operations for monitor different
from those for semaphores?



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

Post New Answer

More Operating Systems General Concepts Interview Questions

What are interrupts?

0 Answers  


Give some benefits of multithreaded programming.

0 Answers  


What is fragmentation?

0 Answers  


What is a full form of ok?

0 Answers  


What is a socket?

0 Answers  






Can bad sectors cause blue screen?

0 Answers  


Is Windows NT a full blown object oriented operating system? Give reasons.

1 Answers  


What is the difference between soft and hard links?

0 Answers  


What is the basic function of paging?

0 Answers  


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.

0 Answers  


What are the different types package forms?

0 Answers  


What is the shortest definition of os?

0 Answers   Infosys,


Categories