Multithreading or task parallel library
- by Bruce Adams
I have an application which performs 30 independent tasks simultaneously using multithreading,
each task retrieves data over http, performs a calculation and returns a result to the ui thread.
Can I use tpl to perform the same tasks?
Does tpl create 30 new threads and spread them over all the available cores, or does it just split the tasks over the available cores and use one thread per core?
Will there be a performance boost using tpl over multithreading in this case?