This project is read-only.

Performing periodic operations with Smart Thread Pool

Oct 10, 2008 at 8:57 PM
You have done an excellent job with the STP. 

The Timer class in System.Threading namespace allows one to perform a task periodically using the CLR's threadpool.   I have not been able to deduce this from the literature you have published, but how can one schedule one or more periodic tasks to be performed using the STP? 

Right now, I have a thread dedicated to each periodic task which may not be optimal.

Oct 12, 2008 at 12:41 PM
There is no built-in time scheduler in the STP.

You should have one thread that manages the time scheduling, it queues a work item for every task.