I am using .NET 3.5 and am trying to wrap my head around a problem (not being a supreme threading expert bear with me).
I have a windows service which has a very int
Call the method using ThreadPool.QueueUserWorkItem
instead. This method grabs a thread from the thread pool and kicks off a method. It appears to be ideal for the task of starting a method on another thread.
Also, when you say "typical ThreadStart" do you mean you're creating and starting a new Thread
with a ThreadStart
parameter, or you're creating a ThreadStart
and calling Invoke
on it?