Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Threads and Synchronization and the fly likes Why is the destroy() deprecated?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "Why is the destroy() deprecated??" Watch "Why is the destroy() deprecated??" New topic
Author

Why is the destroy() deprecated??

Shivom Shukla
Ranch Hand

Joined: Jul 05, 2012
Posts: 77

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...

Thanks,
Shivom
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41182
    
  45
The javadocs of that method have an explanation, which points to a lengthy article on the subject.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Why is the destroy() deprecated??
 
Similar Threads
Tomcat restarted and session still work?
WA #1.....word association
ServletException from destroy( )
[ some ] Interface
Cookies