MCPcopy Create free account
hub / github.com/dabeaz/python-cookbook / example1.py

File example1.py

src/12/locking_with_deadlock_avoidance/example1.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import threading
2from deadlock import acquire
3
4x_lock = threading.Lock()

Callers

nothing calls this directly

Calls 1

startMethod · 0.45

Tested by

no test coverage detected