Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tox-dev/filelock
/ build
Function
build
tests/core/test_singleton.py:136–138 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
134
barrier = threading.Barrier(2)
135
136
def
build() -> None:
137
barrier.wait()
138
results.append(_SlowLock(str(lock_path), is_singleton=True))
139
140
threads = [threading.Thread(target=build)
for
_ in range(2)]
141
for
thread in threads:
Callers
nothing calls this directly
Calls
2
_SlowLock
Class · 0.85
wait
Method · 0.80
Tested by
no test coverage detected