Sign in
MSDN Blogs
Microsoft Blog Images
More ...
Browse by Tags
MSDN Blogs
>
.NET Parallel Programming
>
All Tags
>
parallelextensionsextras
Server & Tools Blogs
>
Developer Tools Blogs
>
Parallel Programming with .NET
Executive Bloggers
S. Somasegar
Brian Harry
Scott Guthrie
Jason Zander
Visual Studio
Visual Studio
Blend
LightSwitch
Line of Business Apps by Beth Massi
Setup & Install by Heath Stewart
Application Lifecycle Management
Visual Studio ALM
Team Foundation Service
Languages
Visual Basic
Visual C#
Visual C++
Visual F#
JavaScript
.NET Framework
.NET Framework
.NET Parallel Programming
ADO.NET (Managed Providers, DataSet & EF)
ASP.NET by Scott Hanselman
Base Class Library (BCL)
Silverlight
WCF Data Services
Workflow
Platform Development
Internet Explorer
Apps for Office and SharePoint 2013
SharePoint
Office
Web
Windows 8
Windows Store
Windows Azure
Windows Phone
Parallel Programming with .NET
All about Async/Await, System.Threading.Tasks, System.Collections.Concurrent, System.Linq, and more…
Subscribe
Comments
Home
Menu
Atom
Translate this page
Powered by
Microsoft® Translator
Recent Posts
.NET memory allocation profiling and Tasks
Posted
1 month ago
by
Stephen Toub - MSFT
7
Comments
Tasks, Monads, and LINQ
Posted
1 month ago
by
Stephen Toub - MSFT
9
Comments
"Invoke the method with await"... ugh!
Posted
2 months ago
by
Stephen Toub - MSFT
3
Comments
MVP Summit presentation on async
Posted
3 months ago
by
Stephen Toub - MSFT
5
Comments
Live Now on Developer Tools Blogs
Tags
.NET 4
Async
Code Samples
Coordination Data Structures
Parallel Extensions
PLINQ
Task Parallel Library
ThreadPool
Related resources
Visual Studio Developer Center
Visual Studio Product Website
Archives
Archives
April 2013
(2)
March 2013
(1)
February 2013
(1)
January 2013
(2)
December 2012
(1)
November 2012
(1)
October 2012
(1)
September 2012
(2)
August 2012
(3)
June 2012
(2)
May 2012
(3)
April 2012
(6)
March 2012
(8)
February 2012
(14)
January 2012
(5)
December 2011
(3)
November 2011
(8)
October 2011
(5)
September 2011
(6)
June 2011
(3)
May 2011
(3)
April 2011
(2)
February 2011
(1)
January 2011
(6)
November 2010
(2)
October 2010
(5)
August 2010
(2)
July 2010
(3)
June 2010
(7)
May 2010
(6)
April 2010
(23)
March 2010
(3)
February 2010
(10)
January 2010
(6)
December 2009
(3)
November 2009
(12)
October 2009
(10)
September 2009
(1)
August 2009
(3)
July 2009
(6)
June 2009
(11)
May 2009
(13)
April 2009
(4)
March 2009
(2)
February 2009
(4)
January 2009
(1)
December 2008
(1)
November 2008
(3)
October 2008
(6)
September 2008
(1)
August 2008
(5)
July 2008
(2)
June 2008
(15)
May 2008
(4)
April 2008
(1)
March 2008
(6)
February 2008
(6)
January 2008
(4)
December 2007
(10)
November 2007
(6)
More
▼
Less
▲
Tagged Content List
Blog Post:
Processing Sequences of Asynchronous Operations with Tasks
Stephen Toub - MSFT
Of late, I’ve seen multiple folks asking about how to use tasks to asynchronously execute a sequence of operations. For example, given three synchronous functions: public string DoA(string input); public string DoB(string aResult); public string DoC(string bResult); you could invoke these functions...
on
21 Nov 2010
Blog Post:
ParallelExtensionsExtras Tour - #16 - Async Tasks for WebClient, SmtpClient, and Ping
Stephen Toub - MSFT
(The full set of ParallelExtensionsExtras Tour posts is available here .) The Task Parallel Library isn’t just about CPU-bound operations. The Task class is a great representation for any asynchronous operation, even those implemented purely as asynchronous I/O. Task’s ability...
on
4 May 2010
Blog Post:
ParallelExtensionsExtras Tour - #15 - Specialized Task Waiting
Stephen Toub - MSFT
(The full set of ParallelExtensionsExtras Tour posts is available here .) The Task Parallel Library provides the Task.Wait method, which synchronously waits for the target Task to complete. If the Task completed successfully, the method simply returns. If the Task completed due to an unhandled...
on
4 May 2010
Blog Post:
ParallelExtensionsExtras Tour - #14 - SingleItemPartitioner
Stephen Toub - MSFT
(The full set of ParallelExtensionsExtras Tour posts is available here .) In a previous ParallelExtensionsExtras Tour blog post, we talked about implementing a custom partitioner for BlockingCollection<T>. Custom partitioning is an advanced but important feature supported by both Parallel.ForEach...
on
28 Apr 2010
Blog Post:
ParallelExtensionsExtras Tour - #13 - AsyncCall
Stephen Toub - MSFT
(The full set of ParallelExtensionsExtras Tour posts is available here .) Producer/consumer scenarios could logically be split into two categories: those where the consumers are synchronous, blocking waiting for producers to generate data, and those where the consumers are asynchronous, such that...
on
27 Apr 2010
Blog Post:
ParallelExtensionsExtras Tour - #12 - AsyncCache
Stephen Toub - MSFT
(The full set of ParallelExtensionsExtras Tour posts is available here .) Caches are ubiquitous in computing, serving as a staple of both hardware architecture and software development. In software, caches are often implemented as dictionaries, where some data is retrieved or computed based on a key...
on
23 Apr 2010
Blog Post:
ParallelExtensionsExtras Tour - #11 - ParallelDynamicInvoke
Stephen Toub - MSFT
(The full set of ParallelExtensionsExtras Tour posts is available here .) Delegates in .NET may have one or more methods in their invocation list. When you invoke a delegate, such as through the Delegate.DynamicInvoke method, the net result is that all of the methods in the invocation list get invoked...
on
15 Apr 2010
Blog Post:
ParallelExtensionsExtras Tour - #10 - Pipeline
Stephen Toub - MSFT
(The full set of ParallelExtensionsExtras Tour posts is available here .) Producer/consumer is a fundamental pattern employed in many parallel applications. With producer/consumer, one or more producer threads generate data that is consumed by one or more consumer threads. These consumers can themselves...
on
14 Apr 2010
Blog Post:
ParallelExtensionsExtras Tour - #9 - ObjectPool<T>
Stephen Toub - MSFT
(The full set of ParallelExtensionsExtras Tour posts is available here .) An object pool is a mechanism/pattern to avoid the repeated creation and destruction of objects. When code is done with an object, rather than allowing it to be garbage collected (and finalized if it’s finalizable), you put...
on
13 Apr 2010
Blog Post:
ParallelExtensionsExtras Tour - #8 - ReductionVariable<T>
Stephen Toub - MSFT
(The full set of ParallelExtensionsExtras Tour posts is available here .) The new .NET 4 System.Threading. ThreadLocal<T> is quite useful when you need per-thread, per-instance storage. This is in contrast to the fast ThreadStaticAttribute, which supports only per-thread storage (in .NET 4,...
on
12 Apr 2010
Blog Post:
ParallelExtensionsExtras Tour - #7 - Additional TaskSchedulers
Stephen Toub - MSFT
(The full set of ParallelExtensionsExtras Tour posts is available here .) In our last two ParallelExtensionsExtras blog tour posts, we’ve discussed two TaskScheduler implementations in ParallelExtensionsExtras : StaTaskScheduler and ConcurrentExclusiveInterleave. These are just 2 of more than...
on
9 Apr 2010
Blog Post:
ParallelExtensionsExtras Tour - #6 - ConcurrentExclusiveInterleave
Stephen Toub - MSFT
(The full set of ParallelExtensionsExtras Tour posts is available here .) As mentioned in the previous ParallelExtensionsExtras blog tour post , the Task Parallel Library (TPL) supports an extensible task scheduling mechanism, and we demonstrated how an StaTaskScheduler could be implemented that scheduled...
on
8 Apr 2010
Blog Post:
ParallelExtensionsExtras Tour - #5 - StaTaskScheduler
Stephen Toub - MSFT
(The full set of ParallelExtensionsExtras Tour posts is available here .) The Task Parallel Library (TPL) supports a wide array of semantics for scheduling tasks, even though it only includes two in the box (one using the ThreadPool, and one using SynchronizationContext, which exists primarily to...
on
7 Apr 2010
Blog Post:
ParallelExtensionsExtras Tour - #4 - BlockingCollectionExtensions
Stephen Toub - MSFT
(The full set of ParallelExtensionsExtras Tour posts is available here .) BlockingCollection<T> encapsulates the core synchronization and coordination necessary to enable classic producer/consumer patterns. ParallelExtensionsExtras provides the BlockingCollectionExtensions.cs file, which contains...
on
6 Apr 2010
Blog Post:
ParallelExtensionsExtras Tour - #3 - Additional Task Extensions Methods
Stephen Toub - MSFT
(The full set of ParallelExtensionsExtras Tour posts is available here .) In our last ParallelExtensionsExtras tour post , we discussed implementing an extension ToObservable method for Task<TResult>. This is just one of a myriad of extra pieces of functionality that are useful with Tasks, and...
on
5 Apr 2010
Blog Post:
ParallelExtensionsExtras Tour - #2 - Task<TResult>.ToObservable
Stephen Toub - MSFT
(The full set of ParallelExtensionsExtras Tour posts is available here .) In our previous ParallelExtensionsExtras tour post , we discussed a custom implementation of the LINQ operators, in particular for working with Task<TResult> instances in an asynchronous manner. There is already an impressive...
on
4 Apr 2010
Blog Post:
ParallelExtensionsExtras Tour - #1 - LINQ to Tasks
Stephen Toub - MSFT
(The full set of ParallelExtensionsExtras Tour posts is available here .) The .NET Framework developer center provides a concise description of Language Integrated Query (LINQ): LINQ is a set of extensions to the .NET Framework that encompass language-integrated query, set, and transform operations...
on
4 Apr 2010
Blog Post:
A Tour of ParallelExtensionsExtras
Stephen Toub - MSFT
Throughout the development of Parallel Extensions for the .NET Framework 4, we’ve come across a myriad of situations where certain functionality would be useful in developing a particular application or library, but where that functionality isn’t quite encapsulated in the bits we’re...
on
4 Apr 2010
Page 1 of 1 (18 items)