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 Stopping Thread 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 "Stopping Thread" Watch "Stopping Thread" New topic
Author

Stopping Thread

Richard Teston
Ranch Hand

Joined: Feb 12, 2002
Posts: 89
If i have an object which extends Thread how could i stop and resume thread execution since stop() resume() is not recommended to use?


The Code is the Programmer
Mahesh swami
Greenhorn

Joined: Aug 13, 2002
Posts: 26
You can use wait and notify methods instead of stop and resume
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Stopping Thread
 
Similar Threads
suspend() & resume() - problem
Deprecated Methods
Exam on monday please reply
topics omited scjp5
How to implement start/stop/restart in daemon thread