I found a good read on PLINQ (Parallel LINQ) and TPL (Task Parallel Library) on code project. It doesn’t cover everything though but gives you good examples and common pitfalls using them.
The examples cover,
- Parallel Class - Parallel.For, Parallel.Do, AsParallel constructs
- Exception Handling for Parallel programming constructs
- Handling of compiler side-effects.
You need the TPL CTP download and of course VS 2008 for trying out the samples.
Converting a LINQ query from sequential to parallel execution is as simple and straightforward as below :
Here’s the link