Showing results for January 2013 - .NET Parallel Programming

Jan 28, 2013
0
0

Psychic Debugging of Async Methods

Stephen Toub - MSFT
Stephen Toub - MSFT

These days it’s not uncommon for me to receive an email or read a forum post from someone concerned about a problem they’re experiencing with an async method they’ve written, and they’re seeking help debugging the issue.  Sometimes plenty of information about the bug is conveyed, but other times the communication is voi...

Parallel ExtensionsTask Parallel Library.NET 4.5
Jan 13, 2013
0
2

Cooperatively pausing async methods

Stephen Toub - MSFT
Stephen Toub - MSFT

Recently I was writing an app that processed a bunch of files asynchronously.  As with the Windows copy file dialog, I wanted to be able to provide the user with a button that would pause the processing operation.To achieve that, I implemented a simple mechanism that would allow me to pass a “pause token” into the async method, whi...

Parallel ExtensionsTask Parallel Library.NET 4.5