MCPcopy Index your code
hub / github.com/mongodb/mongo-python-driver / c2

Method c2

test/asynchronous/test_locks.py:41–45  ·  view source on GitHub ↗
(result)

Source from the content-addressed store, hash-verified

39 return True
40
41 async def c2(result):
42 await cond.acquire()
43 if await cond.wait():
44 result.append(2)
45 return True
46
47 async def c3(result):
48 await cond.acquire()

Callers

nothing calls this directly

Calls 2

acquireMethod · 0.80
waitMethod · 0.45

Tested by

no test coverage detected