BT

New Early adopter or innovator? InfoQ has been working on some new features for you. Learn more

rss
Followers

New Task Parallel Library Features in .NET 4.6

by Jonathan Allen Follow 5 Followers on  Feb 09, 2015 1

.NET’s Task Parallel Library is seeing a tune-up in the soon to be released .NET 4.6. In addition to some helper methods that reduce code, and possibly memory usage, TPL is gaining a solution to a tricky problem with SetResult.

Followers

Changes and Guidance for the Task Parallel Library in .NET 4.5

by Jonathan Allen Follow 5 Followers on  Mar 27, 2012

With .NET 4.5 the way you work with the Task class has changed in a subtle but important way.

Followers

More on TPL Data Flow from Zlatko Michailov

by Jonathan Allen Follow 5 Followers on  Jan 19, 2012

We briefly interviewed Zlatko Michailov, author of the Guide to Implementing Custom TPL Dataflow Blocks.

Followers

Implementing Custom TPL Dataflow Blocks

by Jonathan Allen Follow 5 Followers on  Jan 02, 2012

Dataflow Blocks are the backbone of the .NET 4.5’s new high performance parallel processing library. And while they offer a lot of functionality out of the box, there will be times when a custom block is necessary. Zlatko Michailov has put together a document outlining the process and many of the traps you may encounter.

Followers

Task Parallel Library Improvements in .NET 4.5

by Jonathan Allen Follow 5 Followers on  Dec 02, 2011

Microsoft has been working on ways to improve the performance of parallel applications in .NET 4.5, specifically those using the Task Parallel Library. One of most impressive improvements is reducing the overhead for waiting on 100,000 tasks from 12,000,000 bytes to a mere 64 bytes.

Followers

Task Parallel Library for Silverlight

by Jonathan Allen Follow 5 Followers on  Aug 25, 2011 4

Silverlight’s asynchronous service model forces developers to deal with multi-threading from the very beginning. So it seems odd that Microsoft choose to omit the Task Parallel Library, which is the core of .NET’s multi-threading infrastructure. Fortunately there are options.

Followers

Using Messaging and Scheduling for Lock-free Access to Shared State

by Jonathan Allen Follow 5 Followers on  Apr 27, 2011 7

In a message passing system there may be times when mutable data must be shared amongst many tasks. In traditional programming this would be handled by a read-writer block, which would allow one writer thread to block all other threads while it updates the shared data. With a technique found in frameworks such as TPL Dataflow it is possible to avoid this.

Followers

Asynchronous Message Processing using Task Parallel Library and Reactive Extensions

by Jonathan Allen Follow 5 Followers on  Apr 25, 2011

A new preview of TPL Dataflow has recently been released along with Visual Studio Async. Along with performance enhancements and stronger ties with the Reactive Framework, it is being positioned as a foundation for building actor/agent style frameworks as opposed to a complete solution.

Followers

TPL Dataflow – The Successor to CCR

by Jonathan Allen Follow 5 Followers on  Jan 06, 2011

TPL Dataflow is Microsoft’s new library for highly concurrent applications. Using asynchronous message passing and pipelining, it promises to offer more control than thread pools and better performance than manual threading. The downside is that you have to adhere to design patterns that may be unfamiliar to .NET programmers.

Followers

Why Microsoft Believes that VB and C# Need an Asynchronous Syntax

by Jonathan Allen Follow 5 Followers on  Jan 04, 2011 2

The new Async CPT for VB and C# looks like it may actually make it into the core language. But with all the emphasis on multi-core systems, why is Microsoft investing so heavily in syntax for designed specifically for making single-threaded asynchronous programming easier?

Followers

Sneak Peak: Asynchronous Syntax for Visual Basic and C#

by Jonathan Allen Follow 5 Followers on  Oct 28, 2010 4

In a recent blog post the Visual Basic team let slip an announcement that Visual Basic and C# would be getting a new syntax for asynchronous programming. Built on top of the Task Parallel Library that was introduced in .NET 4, this adds the Async and Await keywords to both languages.

Followers

Introducing the Task Parallel Library’s new Cancellation Framework

by Jonathan Allen Follow 5 Followers on  Nov 11, 2009 2

Task Parallel Library, .NET 4.0’s replacement for ThreadPool, got a face lift for beta 2. In addition to performance improvements, it The most important change is probably the new cancellation framework that replaces parent/child relationships with cancellation tokens that can be freely given to logical groups of tasks.

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT