File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Threads and Synchronization
how to Thread scheduling based on fixed time?
Joined: Sep 12, 2005
Aug 07, 2006 06:51:00
I have to run multiple threads based on diff diff fixed times..
might be there is lag of few minutes on each thread.
so, how can i do this....
like thread scheduling via priority basis..is there any trick to move on time basis.
Joined: Jan 29, 2003
Aug 07, 2006 07:39:00
I'm not quite sure what you're after. Look into Timer and see how it can schedule a task to run at some future time or at some regular interval. Does that do what you need?
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: how to Thread scheduling based on fixed time?
Questions about locks
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013