Multithreading or task parallel library

Posted by Bruce Adams on Stack Overflow See other posts from Stack Overflow or by Bruce Adams
Published on 2010-03-26T08:14:26Z Indexed on 2010/03/26 8:23 UTC
Read the original article Hit count: 509

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?

© Stack Overflow or respective owner

Related posts about multithreading

Related posts about parallel-programming