Showing tag results for Coordination Data Structures

Jun 22, 2009
Post comments count0
Post likes count0

Cancellation in Parallel Extensions

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...

.NET Parallel Programming
May 22, 2009
Post comments count0
Post likes count0

.NET 4 Cancellation Framework

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...

.NET Parallel Programming
May 20, 2009
Post comments count2
Post likes count0

Samples for Parallel Programming with the .NET Framework 4

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...

.NET Parallel Programming
Nov 4, 2008
Post comments count0
Post likes count0

.NET Framework 4.0 Poster for Download

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.

.NET Parallel Programming
Oct 28, 2008
Post comments count0
Post likes count0

Concurrent, Multi-core Programming on Windows and .NET

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...

.NET Parallel Programming
Aug 12, 2008
Post comments count0
Post likes count0

Feedback requested: Enumerating Concurrent Collections

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...

.NET Parallel Programming
Aug 5, 2008
Post comments count0
Post likes count0

Waiting for Tasks

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...

.NET Parallel Programming
Jul 24, 2008
Post comments count0
Post likes count1

Useful Abstractions Enabled with ContinueWith

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...

.NET Parallel Programming
Jun 18, 2008
Post comments count0
Post likes count0

Coordination Data Structures Overview

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 ...

.NET Parallel Programming
Jun 7, 2008
Post comments count0
Post likes count0

More Channel 9 Parallel Extensions Goodness

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...

.NET Parallel Programming