MCPcopy Index your code
hub / github.com/python/cpython / acquire

Method acquire

Lib/logging/__init__.py:971–976  ·  view source on GitHub ↗

Acquire the I/O thread lock.

(self)

Source from the content-addressed store, hash-verified

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

Callers 2

_prepareForkFunction · 0.45
shutdownFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected