What is the difference between notify() and notifyAll()?
Page 1 of 1
What is the difference between notify() and notifyAll()?
The notify() is used to unblock one waiting thread whereas notifyAll() method is used to unblock all the threads in waiting state.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|