Pierre,

If the thread is in a stopped state, I don't know if it can be restarted
- however if it's suspended (via the Suspend() method) the it can be
resumed via the Resume() method...

Check the IsAlive state to see if it is infact still alive...

Dino

-----Original Message-----
From: The DOTNET list will be retired 7/1/02
[mailto:[EMAIL PROTECTED]] On Behalf Of Pierre Greborio
Sent: Monday, 10 June 2002 19:36
To: [EMAIL PROTECTED]
Subject: [DOTNET] Restart a thread


Hi,
I have a thread in stopped state and I need to start it again. The start
method raise an exception. How can I retart the thread ?

Thx
Pierre

-----------------------------------------------
Pierre Greborio
[EMAIL PROTECTED]
http://www.pierregreborio.it
-----------------------------------------------

You can read messages from the DOTNET archive, unsubscribe from DOTNET,
or subscribe to other DevelopMentor lists at http://discuss.develop.com.

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.370 / Virus Database: 205 - Release Date: 05/06/2002


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.370 / Virus Database: 205 - Release Date: 05/06/2002

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to