Click here to Skip to main content
15,942,449 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Is there a difference between a managed threads (consumer/producer) and ThreadPool? If so what are the pros and cons?
Posted

1 solution

ThreadPool[^] is an out-of-the-box optimized solution that should be used in lieu of rolling your own thread provider.  Unless you have special requirements not met by ThreadPool, I urge you to go with the existing implementation.

Also see this[^] most excellent link for a deeper analysis.

/ravi
 
Share this answer
 
Comments
d.allen101 15-Feb-14 21:36pm    
Thank you Ravi. The link clarified it all. Have a good wknd and thanks again!
Ravi Bhavnani 15-Feb-14 23:00pm    
Glad to be of help!

Cheers,

/ravi

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900