المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : How to increase concurrent parallel tasks with System.Threading.Parallel (.Net 4.0)



C# Programming
01-02-2010, 08:22 PM
Hi,

I'm experimenting with the new System.Threading.Parallel methods like parallel for and foreach.

They seem to work nicely but I need a way to increase the number of concurrent threads that are executed which are 8 (I have a quad core).

I know there is a way I just can find the right property.

Gilad.

P.S. Please don't write that more threads won't give better output, I already have got a bunch of those.