Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Programming » Multi Thread   (RSS)

When Building Multi-Threaded Applications using ThreadPool, Make the Number of Worker Threads Configurable

Just a simple thought, when creating a multi-threaded applications, make the number of threads configurable. ThreadPool has this behavior that it will immediately set the minimum worker threads equal to the number of logical processors in your machine,
 
Page view tracker