Threading Python # 1. Multithreading in Python with simple examples

Veröffentlicht am: 14 Oktober 2021
auf dem Kanal: 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


Auf dieser Seite können Sie das Online-Video Threading Python # 1. Multithreading in Python with simple examples mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer ZProger [ IT ] 14 Oktober 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 76,262 Mal angesehen und es wurde von 1.8 tausend den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!