File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Threads and Synchronization and the fly likes How kill thread after 30 second in java ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "How kill thread after 30 second in java ?" Watch "How kill thread after 30 second in java ?" New topic
Author

How kill thread after 30 second in java ?

Vipul Gulhane
Greenhorn

Joined: Mar 28, 2011
Posts: 20
hello friends,
I want to kill thread after timeout.
Can anybody tell me how to do that..
Nitin Surana
Ranch Hand

Joined: Jan 21, 2011
Posts: 129

http://stackoverflow.com/questions/671049/how-do-you-kill-a-thread-in-java

http://docs.oracle.com/javase/1.4.2/docs/guide/misc/threadPrimitiveDeprecation.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How kill thread after 30 second in java ?