This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "Why is the destroy() deprecated??" Watch "Why is the destroy() deprecated??" New topic

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

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42958
The javadocs of that method have an explanation, which points to a lengthy article on the subject.
Have you checked out Aspose?
subject: Why is the destroy() deprecated??
It's not a secret anymore!