Thread.Abort
-
Is there any way other than Abort to terminate a thread. How can i Suspend or resume Asynchronous threads
thenewbee wrote:
Is there any way other than Abort to terminate a thread
In normal situation the thread execution ends when the method you passed for ThreadStart has finished.
thenewbee wrote:
How can i Suspend or resume Asynchronous threads
You can call
Sleep
inside the thread. If you need to synchronize separate threads, see for exampleJoin
method andlock
statementThe need to optimize rises from a bad design.My articles[^]
-
Is there any way other than Abort to terminate a thread. How can i Suspend or resume Asynchronous threads
Hi, IMO the best ever summary of all you ever wanted to know about threads is here.[^] :)
Luc Pattyn [Forum Guidelines] [My Articles]
Love, happiness and fewer bugs for 2009!
-
Hi, IMO the best ever summary of all you ever wanted to know about threads is here.[^] :)
Luc Pattyn [Forum Guidelines] [My Articles]
Love, happiness and fewer bugs for 2009!