D
DM
Hello.
I'm considering use of ThreadPool in my application.
However I'm concerned about an impact it may have. I believe
that calling a ThreadPool.QueueUserWorkItem would invoke a static
constructor that would start several threads. Because currently
there is only one place I can think of where TharePool would be
of any use for me and it would be used very rarely just to run
a thread for a simple task, I'm wondering if makes sense to keep
several threads just for one simple task.
Thanks for any suggestions.
I'm considering use of ThreadPool in my application.
However I'm concerned about an impact it may have. I believe
that calling a ThreadPool.QueueUserWorkItem would invoke a static
constructor that would start several threads. Because currently
there is only one place I can think of where TharePool would be
of any use for me and it would be used very rarely just to run
a thread for a simple task, I'm wondering if makes sense to keep
several threads just for one simple task.
Thanks for any suggestions.