Thread IsAlive Detection

  • Thread starter Thread starter Fatih
  • Start date Start date
F

Fatih

Hi,

I am developing an application for WM 5.0.
I have a thread that does some operation in background.
In desktop environment I could check by calling IsAlive property to
see if the thread is alive but I couldn't see something similar in
Compact Framework.

How do I check that a thread is alive or not?
 
In desktop environment I could check by calling IsAlive property to
see if the thread is alive but I couldn't see something similar in
Compact Framework.
How do I check that a thread is alive or not?

You may use custom property to check that.
Just make IsDone (or similar name) property and set it on exiting thread
function.
 
Back
Top