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

Method c1

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

Source from the content-addressed store, hash-verified

33 result = []
34
35 async def c1(result):
36 await cond.acquire()
37 if await cond.wait():
38 result.append(1)
39 return True
40
41 async def c2(result):
42 await cond.acquire()

Callers

nothing calls this directly

Calls 4

acquireMethod · 0.80
wait_forMethod · 0.80
releaseMethod · 0.80
waitMethod · 0.45

Tested by

no test coverage detected