Showing results for July 2008 - .NET Parallel Programming

Jul 27, 2008
0
0

Custom Loop with Arbitrary Initialization, Condition, and Update

Stephen Toub - MSFT
Stephen Toub - MSFT

The Parallel.For loop construct provided by Parallel Extensions is focused on providing a parallel alternative to the common sequential pattern of a for loop that iterates over a range of numbers.  However, the for loop construct in a language like C# is not limited just to numbers and iterating over ranges.  It supports arbitrary initial...

Jul 24, 2008
0
1

Useful Abstractions Enabled with ContinueWith

Stephen Toub - MSFT
Stephen Toub - MSFT

In the June 2008 CTP of Parallel Extensions to the .NET Framework, we introduced the ContinueWith method on both Task and Future<T>.  ContinueWith is, in effect, a callback, very much like events in .NET.  With events, a causal action results in the event being raised, which by default triggers all of the delegates registered with t...

Parallel ExtensionsTask Parallel LibraryCoordination Data Structures