Threading Python # 1. Multithreading in Python with simple examples

Pubblicato il: 14 ottobre 2021
sul canale di: 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


In questa pagina del sito puoi guardare il video online Threading Python # 1. Multithreading in Python with simple examples della durata di ore minuti seconda in buona qualità , che l'utente ha caricato ZProger [ IT ] 14 ottobre 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 76,262 volte e gli è piaciuto 1.8 mille spettatori. Buona visione!