Discussion :: Threads - Pointing out the correct statements (Q.No.6)
Alexander Monakhov said: (Sep 9, 2010) | |
'notifyAll() must be called in synchronized context' is necessary but not sufficient. the thread must hold the lock on the call site. |
Raj said: (Jun 18, 2012) | |
If all thread performing different task then there is no need to synchronized. |
Jaly said: (Dec 4, 2018) | |
If all thread performing different task then there is no need to synchronized. |
Nikhil said: (Jul 11, 2021) | |
@All. When one thread is completely executed then another threads get notifications like wait() and notify() i.e notifyAll() to all thread. |
Post your comments here:
Name *:
Email : (optional)
» Your comments will be displayed only after manual approval.