How to code parallel computing process in C # 4.0

How to achieve parallel computing process in C # 4.0.

+4
source share
3 answers

Using Task Parallel Library , for example.

+10
source

All parallelization options in .NET 3.5 will exist in C # 4.0.

However, the parallel task library will be moved to System.Threading directly as part of BCL. This will allow you to create constructions like Parallel.For, using the new TaskScheduler, etc.

In addition, PLINQ will be included in BCL in .NET 4, which allows parallel queries to be launched.

+2
source

You can play with the parallel task library on VS 2008 by downloading CTP here:

http://www.microsoft.com/downloads/details.aspx?FamilyId=348F73FD-593D-4B3C-B055-694C50D2B0F3&displaylang=en

Or you can try Dev 10 beta if you are an MSDN subscriber:

[cm. comment SO thinks I'm a spammer]

There are changes between the two versions in terms of namespaces, and some APIs have been changed, but either you will start.

Ade

0
source

All Articles