Thread Methods
The following table shows some of the methods that you can use to control individual threads.
Method | Action |
---|---|
Causes a thread to start to run. | |
Pauses a thread for a specified time. | |
Pauses a thread when it reaches a safe point. | |
Stops a thread when it reaches a safe point. | |
Restarts a suspended thread | |
Causes the current thread to wait for another thread to finish. If used with a time-out value, this method returns True if the thread finishes in the allocated time. |