Click here to Skip to main content
15,886,810 members
Articles / Programming Languages / C#

Parallel Tasks in .NET 3.0

Rate me:
Please Sign up or sign in to vote.
4.89/5 (9 votes)
6 May 2010CPOL4 min read 33.8K   468   43  
Provide a mechanism to execute a list of tasks in parallel on multiple threads and communicate back to the calling thread useful states such as exceptions, timeouts, and successful task completion.

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ParallelTaskRunner", "ParallelTaskRunner\ParallelTaskRunner.csproj", "{44DCA895-8FDB-4F8E-A2EB-EAEC41899534}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ParallelTaskRunner.Test", "ParallelTaskRunner.Test\ParallelTaskRunner.Test.csproj", "{0DF37630-8EFB-43D9-B6E6-B303502037F5}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{44DCA895-8FDB-4F8E-A2EB-EAEC41899534}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{44DCA895-8FDB-4F8E-A2EB-EAEC41899534}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{44DCA895-8FDB-4F8E-A2EB-EAEC41899534}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{44DCA895-8FDB-4F8E-A2EB-EAEC41899534}.Release|Any CPU.Build.0 = Release|Any CPU
		{0DF37630-8EFB-43D9-B6E6-B303502037F5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{0DF37630-8EFB-43D9-B6E6-B303502037F5}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{0DF37630-8EFB-43D9-B6E6-B303502037F5}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{0DF37630-8EFB-43D9-B6E6-B303502037F5}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
Australia Australia
I have been programming commercially since 1990, my last two major roles have been Architect/Lead Developer for an online bank and Australia's largest consumer finance comparison portal.

On the side I am a Forex Currency Trader and actively develop tools and applications for Currency Traders.

I have just launched a personal blog at www.davidcruwys.com and a website targeting Foreign Exchange traders at www.my-trading-journal.com

Comments and Discussions