Showing results for Coordination Data Structures - .NET Parallel Programming

Jun 22, 2009
0
0

Cancellation in Parallel Extensions

Mike Liddell
Mike Liddell

One of the great features that crosses all of Parallel Extensions types is a consistent approach to cancellation (see https://blogs.msdn.com/pfxteam/archive/2009/05/22/9635790.aspx). In this post we explore some of the ways cancellation is used in Parallel Extensions and explain the guidance we developed. The new cancellation system is a cooperativ...

Parallel ExtensionsTask Parallel Library.NET 4
May 22, 2009
0
0

.NET 4 Cancellation Framework

Mike Liddell
Mike Liddell

A very interesting addition to .NET 4 is a set of new types that specifically assist with building cancellation-aware applications and libraries. The new types enable rich scenarios for convenient and safe cancellation, and help simplify situations that used to be be difficult and error-prone and non-composable. The details of the new types are des...

Parallel Extensions.NET 4Coordination Data Structures
May 20, 2009
2
0

Samples for Parallel Programming with the .NET Framework 4

Stephen Toub - MSFT
Stephen Toub - MSFT

Along with the release of the .NET Framework 4 Beta 1, we've just published a slew of samples that demonstrate using Parallel Extensions in a variety of ways.  You can download these from Code Gallery at https://code.msdn.microsoft.com/ParExtSamples.These samples include raytracers, a sudoku game, an image colorization algorithm, solvers for t...

Parallel ExtensionsTask Parallel Library.NET 4
Nov 4, 2008
0
0

.NET Framework 4.0 Poster for Download

Stephen Toub - MSFT
Stephen Toub - MSFT

Brad Abrams posted about a cool .NET Framework 4.0 poster which was distributed at the PDC last week and which you can download. Zoom in on the CORE section right in the middle for a glimpse into the parallelism support in .NET 4.0.

Parallel ExtensionsTask Parallel Library.NET 4
Oct 28, 2008
0
0

Concurrent, Multi-core Programming on Windows and .NET

Stephen Toub - MSFT
Stephen Toub - MSFT

Thanks to everyone who attended our PDC pre-conference session yesterday on parallelism and concurrency!  We had a wonderful turnout at the event, and David, Joe, and I all had a terrific time. Attached to this post are the slides we presented. (It turns out that the PDC site does allow you to submit an evaluation for a precon.  If you at...

Parallel ExtensionsTask Parallel LibraryCode Samples
Aug 12, 2008
0
0

Feedback requested: Enumerating Concurrent Collections

Stephen Toub - MSFT
Stephen Toub - MSFT

The June 2008 CTP of Parallel Extensions contained a first look at some of the work we're doing to augment the .NET Framework with a set of additional coordination data structures that aid in the development of highly concurrent applications.  This included two thread-safe collections, ConcurrentQueue<T> and ConcurrentStack<T>, and...

Parallel ExtensionsCoordination Data StructuresFeedback Requested
Aug 5, 2008
0
0

Waiting for Tasks

Stephen Toub - MSFT
Stephen Toub - MSFT

Parallel Extensions makes it easy to wait for Tasks to complete.  Task exposes a Wait method, which can be used trivially: Task t = Task.Create(...); ... t.Wait();Task also exposes several static methods for waiting on an array of tasks, either for all of them to complete or for any of them to complete: Task t1 = Task.Create(...); Task t2 = Ta...

Parallel ExtensionsTask Parallel LibraryCoordination Data Structures
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
Jun 18, 2008
0
0

Coordination Data Structures Overview

Emad Omara
Emad Omara

The June 2008 CTP of Parallel Extensions provides the first look at its 3rd major piece, a set of coordination data structures we lovably refer to as CDS. It contains lightweight and scalable thread-safe data structures and synchronization primitives.  There are of course already many synchronization primitives present in the System.Threading ...

Parallel ExtensionsCoordination Data Structures
Jun 7, 2008
0
0

More Channel 9 Parallel Extensions Goodness

Stephen Toub - MSFT
Stephen Toub - MSFT

Charles from Channel 9 came over to building 112 last week for an in-depth look at what's new in the June 2008 CTP of Parallel Extensions.  We spoke on the subject for an hour and a half or so, which you can see in a two-part series that was posted to Channel 9 yesterday (by the way, Channel 9 team, the new site looks great!): What bett...

Parallel ExtensionsTask Parallel LibraryPLINQ