T
Tim Gallivan
Hello group,
I have a form that starts a thread via a ThreadStart. The thread lives for
the lifetime of the form, doing processing and so on. My question is: In
such a situation, what is the accepted way to monitor the thread to make
sure it hasn't crashed. Do you use a timer and check the thread's IsAlive or
it's ThreadState every few seconds/minutes, or is there another way?
Suggestions, links are most welcome!
Thanks in advance,
I have a form that starts a thread via a ThreadStart. The thread lives for
the lifetime of the form, doing processing and so on. My question is: In
such a situation, what is the accepted way to monitor the thread to make
sure it hasn't crashed. Do you use a timer and check the thread's IsAlive or
it's ThreadState every few seconds/minutes, or is there another way?
Suggestions, links are most welcome!
Thanks in advance,