G
Guest
I've written a c# web service. When a request is received I need to download
a potentially large file from another site. To do that I was starting a new
thread using QueueUserWorkItem but to my surprise the thread frequently
vanishes before finishing it's task. Why?
If I use system.threading.thread to create a thread instead of threadpool,
will it suffer the same fate? Is there any downside to that approach. Other
alternatives before resorting to an out of process solution?
a potentially large file from another site. To do that I was starting a new
thread using QueueUserWorkItem but to my surprise the thread frequently
vanishes before finishing it's task. Why?
If I use system.threading.thread to create a thread instead of threadpool,
will it suffer the same fate? Is there any downside to that approach. Other
alternatives before resorting to an out of process solution?