Hi,
Currently I have a thread thats spinning and doing a
Thread.Sleep(so meTime).
I was thinking of changing this to Thread.Sleep(Ti meout.Infinite) ; then
when I have actual data in a collection to process in this thread, I was
going to do a _thread.Interru pt(); Would this be a better approach to
spinning a thread on ?
Currently I have a thread thats spinning and doing a
Thread.Sleep(so meTime).
I was thinking of changing this to Thread.Sleep(Ti meout.Infinite) ; then
when I have actual data in a collection to process in this thread, I was
going to do a _thread.Interru pt(); Would this be a better approach to
spinning a thread on ?
Comment