Lines Matching refs:acquire
15 await self.acquire()
32 acquire() and release(). When the state is unlocked, acquire()
34 state is locked, acquire() blocks until a call to release() in
35 another coroutine changes it to unlocked, then the acquire() call
41 When more than one coroutine is blocked in acquire() waiting for
44 is blocked in acquire() is being processed.
46 acquire() is a coroutine and should be called with 'await'.
55 await lock.acquire()
71 await lock.acquire()
93 async def acquire(self):
234 # Export the lock's locked(), acquire() and release() methods.
236 self.acquire = lock.acquire
277 await self.acquire()
335 acquire() call and incremented by each release() call. The counter
336 can never go below zero; when acquire() finds that it is zero, it blocks,
364 async def acquire(self):