N
news.microsoft.com
Hi,
Currently I have a thread thats spinning and doing a
Thread.Sleep(someTime).
I was thinking of changing this to Thread.Sleep(Timeout.Infinite); then
when I have actual data in a collection to process in this thread, I was
going to do a _thread.Interrupt(); Would this be a better approach to
spinning a thread on ?
Currently I have a thread thats spinning and doing a
Thread.Sleep(someTime).
I was thinking of changing this to Thread.Sleep(Timeout.Infinite); then
when I have actual data in a collection to process in this thread, I was
going to do a _thread.Interrupt(); Would this be a better approach to
spinning a thread on ?