Lines Matching defs:release
21 self.release()
32 acquire() and release(). When the state is unlocked, acquire()
34 state is locked, acquire() blocks until a call to release() in
36 resets it to locked and returns. The release() method should only
38 and returns immediately. If an attempt is made to release an
43 release() call resets the state to unlocked; first coroutine which
59 lock.release()
125 def release(self):
234 # Export the lock's locked(), acquire() and release() methods.
237 self.release = lock.release
262 self.release()
308 not release the lock, its caller should.
335 acquire() call and incremented by each release() call. The counter
337 waiting until some other thread calls release().
370 called release() to make it larger than 0, and then return
400 def release(self):
424 This raises ValueError in release() if it would increase the value
432 def release(self):
435 super().release()
475 # when start draining release and return index of waited task
494 # We release the barrier