Pregunta de entrevista de ConsultAdd

multithreading use in python reason?

Respuesta de la entrevista

Anónimo

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.