coroutine acquire()
Acquire a semaphore.
If the internal counter is larger than zero on entry, decrement it by one and return True
immediately. If it is zero on entry, block, waiting until some other coroutine has called release()
to make it larger than 0
, and then return True
.
This method is a coroutine.
Please login to continue.