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

File example3.py

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

Source from the content-addressed store, hash-verified

1import threading
2from deadlock import acquire
3
4# The philosopher thread

Callers

nothing calls this directly

Calls 1

startMethod · 0.45

Tested by

no test coverage detected