MCPcopy Create free account
hub / github.com/tox-dev/filelock / _acquire

Method _acquire

tests/test_fork_coordination.py:1106–1109  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1104
1105 class BlockingTransitionLock(BaseFileLock):
1106 def _acquire(self) -> None:
1107 entered.set()
1108 release.wait(timeout=5)
1109 self._context.lock_file_fd = None
1110
1111 _release = _acquire
1112

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected