SleepWaitJoin happens when the thread does one of the following:
1) Calls Thread.Sleep();
2) uses a thread synchonization primitive that is not signalled/free e.g. Monitor, Mutex, AutoResetEvent
3) Calls Join so synchronize with another thread
Suspended happens when someone calls Suspend on your thread (assuming they will probably call Resume at a later point)
Regards
Richard Blewett - DevelopMentor
http://staff.develop.com/richardb/weblog
nntp://news.microsoft. com/microsoft.publi c.dotnet.langua ges.csharp/<4u************ *************** *****@4ax.com>
Hi,
I don't the difference between the wait|sleep|join states and the suspended
one. Could someone please explain this? O:-)
Any pointers to multithreading tutorials would be appreciated to.
Thanks :-)
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (
http://www.grisoft.com).
Version: 6.0.771 / Virus Database: 518 - Release Date: 28/09/2004
[microsoft.publi c.dotnet.langua ges.csharp]