Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tornadoweb/tornado
/ f
Method
f
tornado/test/locks_test.py:473–475 ·
view source on GitHub ↗
(idx)
Source
from the content-addressed store, hash-verified
471
472
@gen.coroutine
473
def
f(idx):
474
with
(
yield
lock.acquire()):
475
history.append(idx)
476
477
futures = [f(i)
for
i in range(N)]
478
self.assertFalse(any(future.done()
for
future in futures))
Callers
nothing calls this directly
Calls
2
append
Method · 0.80
acquire
Method · 0.45
Tested by
no test coverage detected