Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tornadoweb/tornado
/ f
Method
f
tornado/test/locks_test.py:359–361 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
357
sem = locks.Semaphore()
358
359
async
def
f():
360
async
with
sem
as
yielded:
361
self.assertIsNone(yielded)
362
363
yield
f()
364
Callers
nothing calls this directly
Calls
2
append
Method · 0.80
acquire
Method · 0.45
Tested by
no test coverage detected