Which method is called when a thread is blocked from running temporarily?
A. Pulse()
B. PulseAll()
C. Wait()
D. Both b & c
Answer:A
Which method is called when a thread is blocked from running temporarily?
A. Pulse() B. PulseAll() C. Wait() D. Both b & c
Explanation: When a thread is temporarily blocked from running, it calls Wait( ). This causes the thread to go to sleep and the lock for that object to be released, allowing another thread to acquire the lock.