Question 71
HardIn a monitor, what happens when a thread calls wait() on a condition variable?
- A.
It exits the program
- B.
It releases the monitor lock and sleeps until signalled
- C.
It keeps the lock and spins
- D.
It wakes all other threads
Sign up free to see the answer and a step-by-step explanation.