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

Function _block_executor

tests/test_async_read_write_cancellation.py:513–515  ·  view source on GitHub ↗
(executor_started: threading.Event, release_executor: threading.Event)

Source from the content-addressed store, hash-verified

511
512
513def _block_executor(executor_started: threading.Event, release_executor: threading.Event) -> None:
514 executor_started.set()
515 assert release_executor.wait(timeout=5)
516
517
518def _hold_read_write_lock(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected