1. Parallel Extensions to the .NET Framework Mike Taulty Developer & Platform Group Microsoft Ltd [email_address] http://www.mtaulty.com (/DevWeek.zip)
2. “ You are here” Visual Studio 2010 ... ... ... ... Parallel Pattern Library & Concurrency Runtime Debugging Enhancements .NET Framework V4.0 ... ... ... Parallel Extensions to .NET Parallel Computing Initiative ( First Deliverables )
24. Default Scheduling .NET ThreadPool ( with V4.0 modifications ) … Thread Thread Thread Work Item Work Item Work Item Work Item Thread’s Work Queue Thread’s Work Queue Thread’s Work Queue Work Item Work Item Work Item Global Work Queue
26. Side-Bar: the Self-Replicating Task .NET ThreadPool ( with V4.0 modifications ) … ThreadPool Heuristics: Inject another thread? Thread Task Thread’s Work Queue Thread Thread’s Work Queue Thread Thread’s Work Queue Global Work Queue Copy 1 Copy 2
29. Parallel Extensions to .NET Coordination Data Structures .NET ThreadPool V4.0 Task Parallel Library Parallel LINQ ( PLINQ )
30. Parallel LINQ ( PLINQ ) Select() Where() Etc. Extension method in System.LINQ Extends IEnumerable<T> LINQ to Objects LINQ to XML not LINQ to SQL,EF Results in a ParallelQuery<T> “ Usually” would be Enumerable