V
Venkat
Hi,
I am working on an application (developed using c#2.0) which needs to do a
big job and when you start the job in a single thread it takes long time to
complete. So, we want to break the job and run in multiple threads. I heard
about .Net Thread pool class but it has some limitations like we can't have
more than 25 threads in it and read some articles which explain the problems
with the Standard thread pool in case any of thread throws an exception and
UI problems.
Many people suggested writing custom Thread pool to solve my problem. But I
am not good at threading and I wonder whether there is any Custom thread
pool which runs robust and gains performance with multi core processors.
Basically, in my application I need to have ability to cancel any of thread
in the thread pool. Can anyone suggest me links/source code for a customized
thread pool?
Thanks in advance.
I am working on an application (developed using c#2.0) which needs to do a
big job and when you start the job in a single thread it takes long time to
complete. So, we want to break the job and run in multiple threads. I heard
about .Net Thread pool class but it has some limitations like we can't have
more than 25 threads in it and read some articles which explain the problems
with the Standard thread pool in case any of thread throws an exception and
UI problems.
Many people suggested writing custom Thread pool to solve my problem. But I
am not good at threading and I wonder whether there is any Custom thread
pool which runs robust and gains performance with multi core processors.
Basically, in my application I need to have ability to cancel any of thread
in the thread pool. Can anyone suggest me links/source code for a customized
thread pool?
Thanks in advance.