Tweaking Parallel Querying Behavior

Various methods are available in PLINQ to control some aspects of the parallelization of queries. Those methods start with the With prefix and control aspects such as the following:

Image Degree of parallelism, specifying how many parallel workers can be running during query execution

Image Execution mode, allowing force parallelism even if PLINQ concludes it’s not worth the effort

Image Merge options, controlling query result ...

Get C# 5.0 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.