DotNetShoutout - Stories tagged with Parallelism
3
Shouts

Attaching Continuation Tasks to the UI Thread (.NET Parallelism)

published 505 days, 5 hours, 15 minutes ago posted by BlackWaspBlackWasp 505 days, 23 hours, 43 minutes ago
Wednesday, January 04, 2012 5:44:44 PM GMT Tuesday, January 03, 2012 11:16:19 PM GMT
Parallel tasks can be used in Windows Forms and Windows Presentation Foundation applications to run slow processes without blocking the user interface thread. However, this presents a problem, as both systems prevent other threads from updating controls. (more)
category: How To | clicked: 11 | 2 comments | | source: www.blackwasp.co.uk
tags: .NET, Parallelism
5
Shouts

Continuation Tasks (.NET)

published 574 days, 8 hours, 10 minutes ago posted by BlackWaspBlackWasp 577 days, 31 minutes ago
Thursday, October 27, 2011 2:49:45 PM GMT Monday, October 24, 2011 10:28:02 PM GMT
The eleventh part of the Parallel Programming in .NET tutorial considers the use of continuation tasks. These are parallel tasks that start automatically when one or more other tasks complete, allowing a chain of dependent tasks to be executed correctly. (more)
category: How To | clicked: 55 | 1 comment | | source: www.blackwasp.co.uk
tags: C#, Parallelism
2
Shouts

Waiting for Parallel Tasks to Complete

published 595 days, 1 hour, 18 minutes ago posted by BlackWaspBlackWasp 596 days, 23 hours, 57 minutes ago
Thursday, October 06, 2011 9:41:22 PM GMT Tuesday, October 04, 2011 11:02:04 PM GMT
The ninth part of the Parallel Programming in .NET tutorial considers that the parallel nature of tasks means that it is not possible to assume that tasks have completed. It describes how to synchronise tasks and capture their unhandled exceptions. (more)
category: How To | clicked: 15 | 5 comments | | source: www.blackwasp.co.uk
tags: C#, Parallelism
3
Shouts

Using Parallel.Invoke

posted by BlackWaspBlackWasp 615 days, 10 minutes ago
Friday, September 16, 2011 10:49:54 PM GMT
The seventh part of the Parallel Programming in .NET tutorial starts a look at the options that the Task Parallel Library provides for task decomposition. This article describes the Parallel.Invoke method, which can execute several delegates in parallel. (more)
category: How To | clicked: 4 | comment | | source: www.blackwasp.co.uk
tags: .NET, C#, Parallelism
4
Shouts

Exceptions and Parallel Loops

published 623 days, 15 hours, 48 minutes ago posted by BlackWaspBlackWasp 624 days, 11 hours, 33 minutes ago
Thursday, September 08, 2011 7:11:32 AM GMT Wednesday, September 07, 2011 11:26:14 AM GMT
The sixth part of the Parallel Programming in .NET tutorial is the last instalment that examines the parallel loops. This article discusses how exceptions are thrown by code within a parallel loop and how they can be handled. (more)
category: How To | clicked: 10 | 5 comments | | source: www.blackwasp.co.uk
tags: .NET, Parallelism
7
Shouts

Synchronisation in Parallel Loops

published 625 days, 16 hours, 33 minutes ago posted by BlackWaspBlackWasp 630 days, 6 hours, 7 minutes ago
Tuesday, September 06, 2011 6:26:05 AM GMT Thursday, September 01, 2011 4:52:57 PM GMT
The fifth part of the Parallel Programming in .NET tutorial continues the description of parallel loops. This article looks at the synchronisation problems of aggregation in parallel loops and how to overcome them with locking and local state values. (more)
category: How To | clicked: 36 | 2 comments | | source: www.blackwasp.co.uk
tags: C#, Parallelism
4
Shouts

Terminating Parallel Loops

published 634 days, 2 hours, 13 minutes ago posted by BlackWaspBlackWasp 636 days, 1 hour, 38 minutes ago
Sunday, August 28, 2011 8:46:16 PM GMT Friday, August 26, 2011 9:21:55 PM GMT
The fourth part of the Parallel Programming in .NET tutorial looks at the early termination of parallel loops. Unlike sequential loops, which can be exited with the break command, there are considerations when stopping loops that run on multiple cores. (more)
category: How To | clicked: 8 | 1 comment | | source: www.blackwasp.co.uk
tags: .NET, Parallelism
4
Shouts

Dean Hume - C# Parallel Invoke

published 697 days, 3 hours, 16 minutes ago posted by deanomachinodeanomachino 699 days, 8 hours, 51 minutes ago
Sunday, June 26, 2011 7:43:52 PM GMT Friday, June 24, 2011 2:08:53 PM GMT
C# Parallel Invoke While working through some code, I noticed a method that I have never seen before. I knew that the .Net 4 Framework had introduced a Parallel Class that helped make parallel ForEach Loops easier, but after some searching I came across the ParallelInvoke() method. So, I jumped on the MSDN site and learnt a little bit more about Task Parallels. It makes running one or more independent tasks concurrently really easy with it's fluent interface. After some reading, I noticed that t... (more)
category: Web Dev | clicked: 15 | comment | | source: deanhume.com
tags: C#, .Net 4.0, Parallelism
7
Shouts

LINQ is Better Than ForEach

published 1111 days, 15 hours, 21 minutes ago posted by KodefuGuruKodefuGuru 1114 days, 20 hours, 49 minutes ago
Saturday, May 08, 2010 7:38:35 AM GMT Wednesday, May 05, 2010 2:10:06 AM GMT
I had a discussion today with a software architect who disagreed with me that LINQ to Objects should be used instead of foreach loops. My claim is that LINQ is better. He says that I shouldn’t make such a blanket statement, because LINQ is inefficient. I stand by my assertion. (more)
category: Agile | clicked: 1 | 1 comment | | source: www.kodefuguru.com
tags: Rex, Refactoring, Parallelism, foreach, Linq
8
Shouts

Developing for Multicore machines. Tasks in .NET 4.0 - Why/What/How?

published 1114 days, 13 hours, 11 minutes ago posted by http://web2trends.blogspot.com/http://web2trends.blogspot.com/ 1116 days, 5 hours ago
Wednesday, May 05, 2010 9:48:26 AM GMT Monday, May 03, 2010 5:59:48 PM GMT
With those multi core processors everywhere, support for parallelism is an already implicit requirement for any new application. This post explores how easily you can implement parallel features in your application, with Tasks in .NET 4.0. (more)
category: How To | clicked: 1 | 2 comments | | source: amazedsaint.blogspot.com
tags: C#, tasks, .Net 4.0, Parallelism
4
Shouts

A brief overiew of the new Parallel Extensions in .NET Framework 4 « Mehroz’s Experiments

posted by mehrozmehroz 1155 days, 8 hours, 45 minutes ago
Thursday, March 25, 2010 2:14:29 PM GMT
We have been creating multi-threaded applications with the previous versions of .NET framework, but most of the times, the objective of such multi-threading was to keep the user interface active in case of any IO or network operation going on. However, to cope with the current era of multi-core processors, we need to additionally parallelize our business logic operations to best utilize the computational powers. This post will walk through some of the inconveniences with the traditional multi-threading t... (more)
category: How To | clicked: 0 | comment | | source: smehrozalam.wordpress.com
tags: .net 4, Parallel, Parallelism, thread pool, multi-threading, data parallelism, task parallelism
5
Shouts

.NET Framework 4: A first look at the new features « Mehroz’s Experiments

published 1170 days, 11 hours, 31 minutes ago posted by mehrozmehroz 1171 days, 4 hours, 47 minutes ago
Wednesday, March 10, 2010 11:28:54 AM GMT Tuesday, March 09, 2010 6:12:06 PM GMT
Visual Studio 2010 Release Candidate has been made available a few weeks back. The .NET Framework 4 is arriving with some great new enhancements for all of us, and in this post, I plan to briefly discuss some of those exciting features that caught my eye. Here's the list of the features discussed: Parallel extensions Entity framework 4 Managed Extensibility Framework Silverlight 4 DLR and dynamic keyword Code contracts Optional Parameters ... (more)
category: How To | clicked: 2 | comment | | source: smehrozalam.wordpress.com
tags: .net 4, TPL, dynamic, Code Contracts, dotnet, DLR, Entity Framework, C#, EF4, MEF, Parallelism, Silverlight 4, VS2010