How to check if Thread finished execution
Use the Thread.IsAlive
flag. This is to give the thread status.
For a thread you have the myThread.IsAlive
property. It is false if the thread method returned or the thread was aborted.
Use the Thread.IsAlive
flag. This is to give the thread status.
For a thread you have the myThread.IsAlive
property. It is false if the thread method returned or the thread was aborted.