This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
The moose likes Threads and Synchronization and the fly likes How to execute another Thread when a Thead is put to Sleep? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "How to execute another Thread when a Thead is put to Sleep?" Watch "How to execute another Thread when a Thead is put to Sleep?" New topic
Author

How to execute another Thread when a Thead is put to Sleep?

Vikas J Yadav
Greenhorn

Joined: Jul 10, 2013
Posts: 16


Hi in the above code I have to run reports. A report will run repeatedly at certain frequency for eg every min , every hour or daily. What i want is when the Thread for the first report is not running then the thread for next Thead should start the excution. Please let me know How this can be achieved?

Thanks.
Rohit Aggarawal
Ranch Hand

Joined: Jun 26, 2009
Posts: 39



Hope that you full fill your need.


SCJP 6.0
SCBCD for JEE 5

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to execute another Thread when a Thead is put to Sleep?
 
It's not a secret anymore!