TPL includes Cancellations and AggregateExceptions for interrupting work and dealing with collections of exceptions often generated when multiple Tasks are interrupted. There are patterns to implementing Cancellations and this article demonstrates some of the more common patterns.
Latest Programming Insights Articles - Page 12
In making parallel computing more accessible, Microsoft has also made asynchronous execution more accessible. Nowhere is this fact more apparent than in technologies built from the ground up on these new asynchronous capabilities. Take, for example, Reactive Extensions (Rx); a set of libraries built on LINQ and the Task Parallel Library (TPL).
There is a buffet of Parallel Programming patterns and conventions documentation. A good approach to digesting all the available information is to ingest a little bit at a time. Developers looking for a Parallel Programming Patterns and Conventions appetizer will find it in this article.
Learn about the Task Parallel Library Dataflow, a new member of Microsoft's Technical Computing Initiative built on the Task Parallel Library.
Task Continuations allows developers to create interdependencies between tasks. The interdependencies can involve simple execution in response to task completion or aggregated exception handling among tasks. Read along to learn more.
Learn how .NET Framework 4.0 Parallel Computing will enable an upcoming C# programming feature and make asynchronous coding easier.
Latest CodeGuru Developer Columns
Learn to implement exception handling mechanism in C++.
Windows 10 introduces UWP apps and the Universal Windows Platform, which provide a guaranteed core API layer. Leverage the UWP in your coding.
Create a Tile Slide game with Visual Basic.NET.
With Microsoft's new Project Rome, the user experience across all platforms (Windows, iOS, or Android) will be seamless among different hardware.