Showing results for May 2010 - .NET Parallel Programming

May 25, 2010
0
0

Lesser-known Multi-threaded Debugging Support in Visual Studio 2010

Stephen Toub - MSFT
Stephen Toub - MSFT

We’ve been very excited about the new debugging windows in Visual Studio 2010, namely Parallel Tasks and Parallel Stacks, as well as the newly revamped Threads window, and thus we’ve talked about them quite a bit. For an overview, you can read the MSDN Magazine article at https://msdn.microsoft.com/en-us/magazine/ee410778.aspx, and Daniel Moth ...

Parallel ExtensionsTask Parallel LibraryPLINQ
May 24, 2010
0
1

Why is TaskContinuationsOptions.ExecuteSynchronously opt-in?

Stephen Toub - MSFT
Stephen Toub - MSFT

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 scheduler ...

Parallel ExtensionsTask Parallel Library.NET 4
May 16, 2010
0
0

Blog Platform Upgrades Happening this Week

Stephen Toub - MSFT
Stephen Toub - MSFT

Dear Parallel Computing Enthusiasts, This week, Microsoft is rolling out a platform update to all blogs on the http://blogs.msdn.com site, including this one.  Comments on this blog will be disabled at approximately 9pm PST tonight and will be off until mid-day on the 24th.  We also do not expect to publish any new blog posts during this ...

May 4, 2010
0
0

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

Stephen Toub - MSFT
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 to represent arbitrary asynchronous operations without...

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

ParallelExtensionsExtras Tour – #15 – Specialized Task Waiting

Stephen Toub - MSFT
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 exception or cancellation, Wait throws an ...

Parallel ExtensionsTask Parallel Library.NET 4
May 3, 2010
0
0

A TPL Sandbox

Danny Shih
Danny Shih

In a previous post, we introduced the UnobservedTaskException event, saying that it would be useful for host-plugin scenarios where a host application should continue to execute in the presence of exceptions thrown by buggy plugins.  A typical example is an Internet browser; should the entire application crash if some rich content plugin ...

Parallel ExtensionsTask Parallel Library.NET 4