Threading Python # 1. Multithreading in Python with simple examples

Publié le: 14 octobre 2021
sur la chaîne: ZProger [ IT ]
76,262
1.8k

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


Sur cette page du site, vous pouvez voir la vidéo en ligne Threading Python # 1. Multithreading in Python with simple examples durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur ZProger [ IT ] 14 octobre 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 76,262 fois et il a aimé 1.8 mille téléspectateurs. Bon visionnage!