‘threading.TIMEOUT_MAX’
value specifies the maximum value allowed for the timeout parameter of blocking
functions like Lock.acquire(), RLock.acquire(), Condition.wait() etc. If you
specify timeout greater than this value will raise an OverflowError.
>>> import threading >>> print(threading.TIMEOUT_MAX) 9223372036.0
No comments:
Post a Comment