Let's take a look at Python processes and threads using simple examples.
You will learn how processes differ from threads, in which cases it is worth using this or that technology. We'll cover threading, synchronization, and resource issues.
We will also consolidate the obtained material in practice and write a program using streams, along the way considering all the methods and attributes for working with them.
⭐ Free version of Kite: https://bit.ly/3cKz97C
⭐ All our Python courses: https://stepik.org/users/267872376/teach
⭐ Channel with useful material: https://t.me/codeblog8
📁 Github: https://github.com/Zproger
📁 All playlists with lessons: https://bit.ly/39GaY89
📁 Contact me: zproger777@gmail.com
📁 Support channel: https://www.donationalerts.com/r/zproger
Timecodes:
00:00 - What will happen in this video?
0:44 - Processes and Threads. What is the difference
2:34 - Problems when using streams
4:08 - Deadlocks. Deadlock in Python streams
4:52 - Putting Streams in Practice
5:08 - Run the function in a separate thread and consider the attributes
7:50 - Get the name and other attributes of the running thread
8:24 - Checking the health of the thread together with MainThread
9:34 am - Get all running threads and check the work status
10:25 - Parse the structure of running threads
11:16 - Get the object of the main thread MainThread
11:35 - Set the name of the stream on the fly
12:06 - We are waiting for the execution of the thread. Using Join
На этой странице сайта вы можете посмотреть видео онлайн Threading Python # 1. Multithreading in Python with simple examples длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь ZProger [ IT ] 14 Октябрь 2021, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 76,262 раз и оно понравилось 1.8 тысяч зрителям. Приятного просмотра!