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

Method join

tests/test_filelock.py:281–284  ·  view source on GitHub ↗
(self, timeout: float | None = None)

Source from the content-addressed store, hash-verified

279 self.ex = sys.exc_info()
280
281 def join(self, timeout: float | None = None) -> None:
282 super().join(timeout=timeout)
283 if self.ex is not None:
284 raise RuntimeError from self.ex[1] # pragma: no cover # only a worker that raised gets re-raised here
285
286
287# 100 threads x 100 acquisitions is thousands of lock cycles; the 20s default is tight on a loaded Windows runner.

Callers 15

_canonicalFunction · 0.80
_create_instanceMethod · 0.80
encode_markerFunction · 0.80
_stop_heartbeatMethod · 0.80
releaseMethod · 0.80
_join_threadsFunction · 0.80
cleanup_processesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected