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

Function acquirer

tests/test_read_write_unit.py:607–612  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

605 result: dict[str, object] = {}
606
607 def acquirer() -> None:
608 try:
609 lock.acquire_read()
610 result["ok"] = True
611 except BaseException as exc:
612 result["exc"] = exc
613
614 thread = threading.Thread(target=acquirer, daemon=True)
615 thread.start()

Callers

nothing calls this directly

Calls 1

acquire_readMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…