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.





Comments and Discussions

Ad: Are you a blogger? Join our Blogging forum.





Languages: » C » C++ » C++ STL » Java » Data Structure » C#.Net » Android » Kotlin » SQL
Web Technologies: » PHP » Python » JavaScript » CSS » Ajax » Node.js » Web programming/HTML
Solved programs: » C » C++ » DS » Java » C#
Aptitude que. & ans.: » C » C++ » Java » DBMS
Interview que. & ans.: » C » Embedded C » Java » SEO » HR
CS Subjects: » CS Basics » O.S. » Networks » DBMS » Embedded Systems » Cloud Computing
» Machine learning » CS Organizations » Linux » DOS
More: » Articles » Puzzles » News/Updates


© https://www.includehelp.com some rights reserved.