F
Fowad
I am using ThreadPool to generate multiple threads in my Web Service. Web
methods call ThreadPool.QueueUserWorkItem and then wait for the response
using Monitor.Wait.
All of this works, unless I call SetMaxThreads in the constructor. In this
case, the first call goes through but it hangs the process. Subsequent calls
get no response from the web service.
SetMinThreads seems to cause no problems though. Any idea
methods call ThreadPool.QueueUserWorkItem and then wait for the response
using Monitor.Wait.
All of this works, unless I call SetMaxThreads in the constructor. In this
case, the first call goes through but it hangs the process. Subsequent calls
get no response from the web service.
SetMinThreads seems to cause no problems though. Any idea