HighTechTalks DotNet Forums  

Thread IsAlive Detection

Dotnet Framework (Compact Framework) microsoft.public.dotnet.framework.compactframework


Discuss Thread IsAlive Detection in the Dotnet Framework (Compact Framework) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Fatih
 
Posts: n/a

Default Thread IsAlive Detection - 09-28-2007 , 04:07 AM






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?


Reply With Quote
  #2  
Old   
Josip Medved
 
Posts: n/a

Default Re: Thread IsAlive Detection - 09-30-2007 , 03:49 PM






Quote:
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.

--
Greetings,
Josip Medved



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.