Home »
Python »
Python Reference
Python Thread Class Methods
Python Thread Class has the following built-in functions.
Method |
Description |
getName() |
Returns the name of the thread. |
is_alive() |
Checks whether that thread is alive or not. |
join() |
Blocks the calling thread till the time the thread whose join() method is called terminates, either normally or through an unhandled exception. |
run() |
Represent a thread's activity. |
setName() |
Sets the name of the thread. |
start() |
Starts a thread's activity. |