Thread vs ThreadPool - .Net 2.0
Posted
by NLV
on Stack Overflow
See other posts from Stack Overflow
or by NLV
Published on 2010-04-20T13:33:54Z
Indexed on
2010/04/20
13:43 UTC
Read the original article
Hit count: 316
Hello
I'm not able to understand the difference between Thread vs ThreadPool. Consider i've to manipulate 50,000 records using threads.
In case of threads i need to either predefine no of threads or no of records per threads. Either of them has to be constant.
In case of threadpool we dont need to set any of them theoretically. But practically we need to assign the number of records per thread, because the no of threads may grow extremely large if the input no of records is huge.
Any insights on this?
© Stack Overflow or respective owner