Thread.IsAlive

  • Thread starter Thread starter Drew
  • Start date Start date
D

Drew

Apparently the CF does not support the IsAlive property of Thread.

Is there any other way to know if a specific thread is running?

Thanks,

Drew
 
You'll need to manage this via some member variables yourself. There's a
good quickstart example of this (with source code) that uses a
"threadRunning" flag. Also make a note of how the sample notifies the
thread to stop when someone closes the form.

http://samples.gotdotnet.com/quickstart/CompactFramework/doc/controlinvoker.
aspx





More .Net Compact Framework Info
-------------------------------------------
Faq:
http://msdn.microsoft.com/mobility/prodtechinfo/devtools/netcf/FAQ/default.a
spx

QuickStarts:
http://samples.gotdotnet.com/quickstart/CompactFramework/

Samples:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/h
tml/CompactfxTechArt.asp

*This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top