Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/python-trio/trio
/ release
Method
release
src/trio/_tests/test_sync.py:513–514 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
511
await self.s.send(None)
512
513
def
release(self) -> None:
514
self.r.receive_nowait()
515
516
517
class
ChannelLock2(AsyncContextManagerMixin):
Callers
3
test_Lock_and_StrictFIFOLock
Function · 0.45
test_generic_lock_acquire_nowait_blocks_acquire
Function · 0.45
test_lock_handover
Function · 0.45
Calls
1
receive_nowait
Method · 0.80
Tested by
no test coverage detected