Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Multithreading in Python - Theory to Practical Implementation

Telusko via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore multithreading concepts in Python through this comprehensive 33-minute video tutorial that covers both theoretical foundations and practical implementation. Learn what threads are, their advantages, and optimal use cases before diving into the key differences between multithreading and multiprocessing in terms of execution, memory sharing, and performance. Implement real-world examples of both approaches to understand their practical differences. Master two essential multithreading implementation methods in Python: class-level and function-level multithreading, with step-by-step explanations of each approach. Discover the syntax for creating threads using Python's built-in threading tools and understand how thread scheduling and execution work, including how the scheduler determines which threads to run concurrently. Learn to use the join() method for thread synchronization and connecting threads with the main thread. Gain insight into Python's Global Interpreter Lock (GIL), its purpose, and its actual impact on multithreading performance. Compare memory models between threads and processes while understanding how GIL affects real-world execution scenarios through practical coding examples that demonstrate performance implications.

Syllabus

Multithreading in Python

Taught by

Telusko

Reviews

Start your review of Multithreading in Python - Theory to Practical Implementation

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.