Thread vs ThreadPool - .Net 2.0
- by NLV
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?