Question d’entretien chez ConsultAdd

multithreading use in python reason?

Réponse à la question d'entretien

Utilisateur anonyme

9 févr. 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.