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
On this page of the site you can watch the video online Threading Python # 1. Multithreading in Python with simple examples with a duration of hours minute second in good quality, which was uploaded by the user ZProger [ IT ] 14 October 2021, share the link with friends and acquaintances, this video has already been watched 76,262 times on youtube and it was liked by 1.8 thousand viewers. Enjoy your viewing!