A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
Threads and Synchronization
Why is the destroy() deprecated??
Joined: Jul 05, 2012
Aug 05, 2013 00:49:07
I have read that it destroys the thread but the lock is not released. So is this any kind of issue with this method ??
Please explain its internal working...
Joined: Mar 22, 2005
Aug 05, 2013 01:32:57
The javadocs of that method have an explanation, which points to a lengthy article on the subject.
subject: Why is the destroy() deprecated??
Thread Implementation Question asked at an interview
stop does release the lock
wait() without notify()/notifyAll()
Bodgitt and Scarper : locking and unlocking
Lock for whole object? or only synchronized block?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015