Frage im Vorstellungsgespräch bei ConsultAdd

multithreading use in python reason?

Antwort im Vorstellungsgespräch

Anonym

9. Feb. 2021

The threading module provided with Python includes a simple-to-implement locking mechanism that allows you to synchronize threads. A new lock is created by calling the Lock() method, which returns the new lock. The acquire(blocking) method of the new lock object is used to force threads to run synchronously.