Thread Manager for C#
Posted on 2010-11-20
I am looking for a thread safe "thread provider/manager". The criteria for it's function might seem rudimentary but is essential for the application to run correctly.
1. Ability to create as class "component" populate it with data
2. Thread Manager should throttle the number of number of threads up to user-defined maximum thread count.
3. Thread Manager should permit communication (event notification) to the worker thread
4. Worker thread should communicate with the threadmanager component (with status information from the running worker process)
My project is written in C# VS2010 and reviewed at a few submitted projects on various sites and selected the best match though, my application seems to be colliding/ blocking which results in a "hanging state" when more than one thread executes.
Any suggestion on a thread manager either commercial or well documented? I would hope the TM is implemented as a component that can attach to my WinForm(s) and Web Services?
Many thanks in advance!