MCPcopy Index your code
hub / github.com/RustPython/RustPython / acquire

Method acquire

Lib/logging/__init__.py:968–973  ·  view source on GitHub ↗

Acquire the I/O thread lock.

(self)

Source from the content-addressed store, hash-verified

966 self.lock._at_fork_reinit()
967
968 def acquire(self):
969 """
970 Acquire the I/O thread lock.
971 """
972 if self.lock:
973 self.lock.acquire()
974
975 def release(self):
976 """

Callers 2

_prepareForkFunction · 0.45
shutdownFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected