threading.Condition()

threading — Thread-based parallelism — Python 3.7.2 documentation https://docs.python.org/3/library/threading.html

>>> import threading
>>> threading.Condition()
<Condition(<unlocked _thread.RLock object owner=0 count=0 at 0x006499C8>, 0)>
>>>

原文地址:https://www.cnblogs.com/rsapaper/p/10274261.html