Showing category results for .NET Parallel Programming

Jul 2, 2010
Post comments count0
Post likes count0

Using Cancellation Support in .NET Framework 4

Igor Ostrovsky - MSFT

The .NET Framework 4 introduces a new mechanism for cancellation of operations, based on new types CancellationToken and CancellationTokenSource. This cancellation mechanism is used across the parallel programming libraries: tasks, concurrent collections, and PLINQ queries.Using Cancellation Support in .NET Framework 4, written by Mike Li...

.NET Parallel Programming
Jul 1, 2010
Post comments count0
Post likes count0

Are you using parallelism with .NET? We’d love to know.

Stephen Toub - MSFT

About six months ago, we posted on this blog to ask for details on if/how you're using Parallel Extensions, and we got a great number of awesome responses... thanks!!  As that blog post has long since faded into distant memory, we're asking again :)Are you using Parallel Extensions, the parallelism support introduced with .NET 4? e.g. Parallel...

.NET Parallel Programming
Jun 30, 2010
Post comments count0
Post likes count0

PLINQ and Office Add-ins

Igor Ostrovsky - MSFT

Many different kinds of applications can benefit from multi-core parallelism, including add-ins to Microsoft Office. Donny Amalo wrote a paper, PLINQ and Office Add-ins, where he demonstrates how to implement two parallel Microsoft Office add-ins using PLINQ: (This paper and many more are available through the Parallel Computing Developer C...

.NET Parallel Programming
Jun 28, 2010
Post comments count0
Post likes count0

Integrating Parallelism with Windows Workflow Foundation

Igor Ostrovsky - MSFT

Despite the similarity in naming, the System.Threading.Tasks.Parallel class and the System.Activities.Statements.Parallel* activities in WF4 are largely orthogonal in the scenarios they address. However, WF4 activities and the new parallel programming types in .NET 4 can be used together to great advantage.Ling Wo and Cristina Manu wrote a pap...

.NET Parallel Programming
Jun 25, 2010
Post comments count0
Post likes count0

Concurrency Visualizer: A Case Study

Igor Ostrovsky - MSFT

Boby George and Pooja Nagpal - testers on the Parallel Computing Platform team responsible for the parallel programming support in .NET 4- built a parallel spell checker algorithm and used the Concurrency Visualizer to analyze and improve the performance and scalability of their implementation.Optimizing Parallel Applications Using Concurrency...

.NET Parallel Programming
Jun 21, 2010
Post comments count0
Post likes count0

PLINQ’s Ordering Model

Igor Ostrovsky - MSFT

In order to execute parallel queries as efficiently as possible, Parallel LINQ (PLINQ) treats ordering as optional. By default, PLINQ considers sequences to be unordered, unless the user explicitly opts into maintaining ordering using either the AsOrdered or the OrderBy operator.Roy Patrick Tan wrote a detailed article that expl...

.NET Parallel Programming
Jun 13, 2010
Post comments count1
Post likes count0

“Task.Factory.StartNew” vs “new Task(…).Start”

Stephen Toub - MSFT

With TPL, there are several ways to create and start a new task.  One way is to use the constructor for task followed by a call to the Start method, e.g.        new Task(...).Start();and the other is by using the StartNew method of TaskFactory, e.g.        Task.Factory.StartNew(....

.NET Parallel Programming
Jun 13, 2010
Post comments count0
Post likes count0

Upcoming NYC user group presentation on Parallel Programming

Stephen Toub - MSFT

I'm going to be in Manhattan on June 29th, and while there I'll be presenting to a joint meeting of the NYC .NET Developer's Group and the New York ALT.NET Group on parallel programming with .NET 4 and Visual Studio 2010.  Details are available here, and I'll look forward to seeing you there!Thanks!Stephen

.NET Parallel Programming
Jun 6, 2010
Post comments count0
Post likes count0

Parallel Computing at TechEd North America 2010

Stephen Toub - MSFT

Are you attending TechEd in New Orleans this week?  If so, check out the multitude of parallel computing-related breakout sessions, including: The first two (DEV314 and DEV317) are being presented by Huseyin Yildiz, one of the primary developers on the Parallel Computing Platform team responsible for the Task Parallel Library.En...

.NET Parallel Programming
May 25, 2010
Post comments count0
Post likes count0

Lesser-known Multi-threaded Debugging Support in Visual Studio 2010

Stephen Toub - MSFT

We’ve been very excited about the new debugging windows in Visual Studio 2010, namely Parallel Tasks and Parallel Stacks, as well as the newly revamped Threads window, and thus we’ve talked about them quite a bit. For an overview, you can read the MSDN Magazine article at https://msdn.microsoft.com/en-us/magazine/ee410778.aspx, and Daniel Moth has ...

.NET Parallel Programming