(The full set of ParallelExtensionsExtras Tour posts is available here.)In our last two ParallelExtensionsExtras blog tour posts, we’ve discussed two TaskScheduler implementations in ParallelExtensionsExtras: StaTaskScheduler and ConcurrentExclusiveInterleave. These are just 2 of more than 10 schedulers in ParallelExtensionsExtras...
(The full set of ParallelExtensionsExtras Tour posts is available here.)
As mentioned in the previous ParallelExtensionsExtras blog tour post, the Task Parallel Library (TPL) supports an extensible task scheduling mechanism, and we demonstrated how an StaTaskScheduler could be implemented that scheduled tasks onto custom STA ...
The April 2010 issue of MSDN Magazine is now available, and it has several nice articles that highlight the new parallel programming support in Visual Studio 2010. Check out Doug Turnure's "Better Coding: Better Coding with Visual Studio 2010" and Sumit Kumar's "Visual C++: Exploring New C++ and MFC Features in Visual Studio 2010".(...
(The full set of ParallelExtensionsExtras Tour posts is available here.) The Task Parallel Library (TPL) supports a wide array of semantics for scheduling tasks, even though it only includes two in the box (one using the ThreadPool, and one using SynchronizationContext, which exists primarily to run tasks on UI threads). ...
(The full set of ParallelExtensionsExtras Tour posts is available here.)
BlockingCollection<T> encapsulates the core synchronization and coordination necessary to enable classic producer/consumer patterns. ParallelExtensionsExtras provides the BlockingCollectionExtensions.cs file, which contains several extension ...
(The full set of ParallelExtensionsExtras Tour posts is available here.) In our last ParallelExtensionsExtras tour post, we discussed implementing an extension ToObservable method for Task<TResult>. This is just one of a myriad of extra pieces of functionality that are useful with Tasks, and the TaskExtrasExtensions...
(The full set of ParallelExtensionsExtras Tour posts is available here.) In our previous ParallelExtensionsExtras tour post, we discussed a custom implementation of the LINQ operators, in particular for working with Task<TResult> instances in an asynchronous manner. There is already an impressive implementation of the ...
(The full set of ParallelExtensionsExtras Tour posts is available here.) The .NET Framework developer center provides a concise description of Language Integrated Query (LINQ):LINQ is a set of extensions to the .NET Framework that encompass language-integrated query, set, and transform operations. It extends C# and Visual Basic with ...
Throughout the development of Parallel Extensions for the .NET Framework 4, we’ve come across a myriad of situations where certain functionality would be useful in developing a particular application or library, but where that functionality isn’t quite encapsulated in the bits we’re shipping. Sometimes this ...
The Task Parallel Library in the .NET Framework 4 provides an opt-in feature that enables parent-child relationships between tasks. This relationship brings with it some additional behaviors, including that a parent task is not considered completed until all of its child tasks have completed, and that exceptions from ...