PyDocs
Standard Library
(3.15.2)
Quick Reference
Log In
Nav
Top
Examples
0
See Also
0
Notes
0
Concurrent Execution
_thread
concurrent.futures
concurrent.interpreters
contextvars
multiprocessing
multiprocessing.connection
multiprocessing.dummy
multiprocessing.managers
multiprocessing.pool
multiprocessing.shared_memory
multiprocessing.sharedctypes
queue
sched
subprocess
threading
All modules
PyDocs
Standard Library
Quick Ref
Log In
Staging: this is not the live site, pydocs.org.
PyDocs
Standard Library
Quick Ref
Log In
Nav
Top
Examples
0
See Also
0
Notes
0
Concurrent Execution
_thread
concurrent
futures
interpreters
contextvars
multiprocessing
connection
dummy
managers
pool
shared_memory
sharedctypes
queue
sched
subprocess
threading
All modules
RLock.acquire
threading
method of
RLock
not WASI
RLock.acquire(blocking=True, timeout=-1)
Acquire a lock, blocking or non-blocking.
© Python Software Foundation.
PSF License Version 2
·
Official docs ↗
Changed in 3.2, 3.15
3.2:
The timeout parameter is new.
3.15:
Accepts any real number as timeout, not only integer or float.
0 Examples
No examples for threading/RLock.acquire.
Log in
to add an example
See Also
No see-alsos for
threading/RLock.acquire
Log in
to add a see-also
0 Notes
No notes for
RLock.acquire
Log in
to add a note