Python Threading Tutorial: Basic to Advanced (Multithreading, Pool Executors, Daemon, Lock, Events)

preview_player
Показать описание
Are you trying to make your code run faster? In this video, we will be taking a deep dive into python threads from basic to advanced concepts so that you can take advantage of parallelism and concurrency to speed up your program.

0:00 Introduction
0:53 What are threads?
1:18 When to use threads? (I/O vs CPU, GIL issue)
2:16 Python Thread without join()
3:10 Python Thread with join()
3:49 Python Thread with Input Arguments
4:30 Python Multithreading
5:12 Python Daemon Threads
5:51 Python Thread with Synchronization using Locks
6:38 Python Thread Queue Communication between Threads
7:58 Python Thread Pool Executor
9:21 Python Thread Events
10:12 Speed Comparison I/O Task
10:42 Speed Comparison CPU Task (Multithreading vs Multiprocessing)

Thanks for watching! If you found this video helpful, please like, subscribe and share:

Social:
Рекомендации по теме
Комментарии
Автор

Thanks Kevin! This is my first time watching your channel, your content is fantastic.

mapleigue
Автор

Thank you for continuously providing us with new knowledge. Your channel is a huge blessing to me. Keep up the good work.

MinaEllis-dn
Автор

So what version of Python has the GIL fix in it to allow for true multithreading in Python?

GeraldTalton
join shbcf.ru