You’ll cover some terminology:
- CPU (central processing unit) is a piece of hardware in a computer that executes binary code.
- OS (operating system) is software that schedules when programs can use the CPU.
- Process is a program that is being executed.
- Thread is part of a process.
Blocking happens when a thread is stuck, waiting for a something to finish so it can complete its function. When single-threaded apps get blocked, this causes a poor user experience and slower overall execution time.
Multi-threaded apps can execute more than one function at what appears to be the same time. While one thread is blocked, other threads can continue their execution.
Click here to learn more: https://realpython.com/courses/thread...
Auf dieser Seite können Sie das Online-Video Threading in Python: What Is a Thread? mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Real Python 21 November 2019 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 20,032 Mal angesehen und es wurde von 384 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!