Showing results for November 2010 - .NET Parallel Programming

Nov 21, 2010
0
1

Processing Sequences of Asynchronous Operations with Tasks

Stephen Toub - MSFT
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 with code like: strin...

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

New Feature? :: Delayed cancellation

Danny Shih
Danny Shih

 We’re interested in adding support for scheduling cancellation.  For example: // Create a token source that will Cancel() after a delay var cts = new CancellationTokenSource(TimeSpan.FromMilliseconds(100));// And/or schedule a Cancel() call cts.CancelAfter(TimeSpan.FromMilliseconds(100));We’ve heard from many folks that ...

Parallel Extensions.NET 4Cancellation