Showing 101 - 110 of 227 results for “stephen toub”

ParallelExtensionsExtras Tour - #15 - Specialized Task Waiting

(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 exception or cancellation, Wait throws ...


ParallelExtensionsExtras Tour - #12 - AsyncCache

(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, and then that key and its resulting ...


Parallel Computing Sessions at the Visual Studio 2010 Launch

Thanks to everyone who attended our three breakout sessions at the Visual Studio 2010 Launch and DevConnections conference this week in Las Vegas.  Attached to this blog post are the slide decks that were presented at the talks.  The code from the talks is available either as part of our Parallel Programming in .NET 4 samples ...


Why is TaskContinuationsOptions.ExecuteSynchronously opt-in?

For a relatively advanced feature, I've been surprised how often this question has come up recently. When a task completes, its continuations become available for execution, and by default, a continuation will be scheduled for execution rather than executed immediately.  This means that the continuation has to be queued to the ...


ParallelExtensionsExtras Tour - #16 - Async Tasks for WebClient, SmtpClient, and Ping

(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 to represent arbitrary asynchronous operations ...