How long does the actual fetch of data take?
If it's short compared to the wait times then it might be a better idea to use an event-based model rather than threads.
For example, you could use POE to fire off each timer as it comes due.
In reply to Re: multiple threads with different "timers"
by adrianh
in thread multiple threads with different "timers"
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |