aspose file tools
The moose likes Threads and Synchronization and the fly likes Alternative to suspend()-resume() Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Reply Bookmark "Alternative to suspend()-resume()" Watch "Alternative to suspend()-resume()" New topic
Author

Alternative to suspend()-resume()

Kaustubh Patil
Ranch Hand

Joined: Aug 13, 2001
Posts: 164

As u all may know that the suspend - resume methods are depricated in the java2 and above releases.This may cause a deadlock
So i would like to know about the alternatives to them.
the wait notify approach doesn't work .
Thankx,,


Kaustubh. Mumbai, India.
Peter den Haan
author
Ranch Hand

Joined: Apr 20, 2000
Posts: 3252
interrupt(), perhaps in combination with some polling? If not, can you be a bit more explicit in what you want to achieve?
- Peter
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Alternative to suspend()-resume()
 
Similar Threads
resume
Deprecated Methods
Regarding Threads
suspend() & resume() - problem
threads