How can one manage to fully use the newly enhanced Parallelism features in .NET 4.0?

Posted by Will Marcouiller on Stack Overflow See other posts from Stack Overflow or by Will Marcouiller
Published on 2010-05-28T00:09:22Z Indexed on 2010/05/28 0:11 UTC
Read the original article Hit count: 263

I am pretty much interested into using the newly enhanced Parallelism features in .NET 4.0.

I have also seen some possibilities of using it in F#, as much as in C#.

Despite, I can only see what PLINQ has to offer with, for example, the following:

var query = from c in Customers.AsParallel()
            where (c.Name.Contains("customerNameLike")
            select c;

There must for sure be some other use of this parallelism thing.

Have you any other examples of using it? Is this particularly turned toward PLINQ, or are there other usage as easy as PLINQ?

Thanks! =)

© Stack Overflow or respective owner

Related posts about multithreading

Related posts about .net-4.0