Lines Matching refs:acquire
91 self.acquire = self._semlock.acquire
236 self.acquire = self._lock.acquire
261 return self._wait_semaphore.acquire(True, timeout)
268 self._lock.acquire()
272 assert not self._wait_semaphore.acquire(
278 while self._woken_count.acquire(False):
279 res = self._sleeping_count.acquire(False)
284 while sleepers < n and self._sleeping_count.acquire(False):
290 self._woken_count.acquire() # wait for a sleeper to wake
293 while self._wait_semaphore.acquire(False):
329 if self._flag.acquire(False):
336 self._flag.acquire(False)
342 self._flag.acquire(False)
346 if self._flag.acquire(False):
351 if self._flag.acquire(False):