How to use hardware threads in C# dot net code running on multicore machine ?

Posted by Techee on Stack Overflow See other posts from Stack Overflow or by Techee
Published on 2010-03-22T08:10:10Z Indexed on 2010/03/22 8:21 UTC
Read the original article Hit count: 267

Filed under:
|
|

How to use hardware threads in C sharp code running on multi core machine ? Any example will be appreciated.

I wish to run the two threads parallelly on two cores of my machine. If I create normal software threads in C sharp they may run on single core. Is it possible to run these two threads implicitly parallel on two cores so as to get better performance ?

© Stack Overflow or respective owner

Related posts about c#

Related posts about multithreading