After discovering the Parallels library in .NET 4.0, I'd like to have something similar in my .NET 2.0 application.
Are there any parallel programming helper libraries for .NET 2.0, that simplify common tasks?
After discovering the Parallels library in .NET 4.0, I'd like to have something similar in my .NET 2.0 application.
Are there any parallel programming helper libraries for .NET 2.0, that simplify common tasks?
Threadpool
would be a nomination in .NET 2.0 which is kind of similar with TPL.TPL
actually usesThreadpool
under the hood:You can try the
BackgroundWorker
class which has been available from .NET Framework 2.0+. There is a lot of information available on how to use this class both on this site and on MSDN.You can also look at the
Thread
class, which has been available from .NET Framework 1.1+. There is also a wealth of information on this class. One resource I particularly like is J. Albahari's page on threading. This should provide a great starting point for you to get started with these features.I hope this helps.