Lines Matching full:acquire
203 (:meth:`Lock.acquire`, :meth:`RLock.acquire`, :meth:`Condition.wait`, etc.).
460 in the unlocked state. It has two basic methods, :meth:`~Lock.acquire` and
461 :meth:`~Lock.release`. When the state is unlocked, :meth:`~Lock.acquire`
463 :meth:`~Lock.acquire` blocks until a call to :meth:`~Lock.release` in another
464 thread changes it to unlocked, then the :meth:`~Lock.acquire` call resets it
472 When more than one thread is blocked in :meth:`~Lock.acquire` waiting for the
483 lock, subsequent attempts to acquire it block, until it is released; any
491 .. method:: acquire(blocking=True, timeout=-1)
493 Acquire a lock, blocking or non-blocking.
549 To lock the lock, a thread calls its :meth:`~RLock.acquire` method; this
551 its :meth:`~Lock.release` method. :meth:`~Lock.acquire`/:meth:`~Lock.release`
554 allows another thread blocked in :meth:`~Lock.acquire` to proceed.
563 reentrant lock, the same thread may acquire it again without blocking; the
571 .. method:: acquire(blocking=True, timeout=-1)
573 Acquire a lock, blocking or non-blocking.
626 the enclosed block. The :meth:`~Condition.acquire` and
696 .. method:: acquire(*args)
698 Acquire the underlying lock. This method calls the corresponding method on
793 used the names ``P()`` and ``V()`` instead of :meth:`~Semaphore.acquire` and
797 :meth:`~Semaphore.acquire` call and incremented by each :meth:`~Semaphore.release`
798 call. The counter can never go below zero; when :meth:`~Semaphore.acquire`
809 :meth:`acquire` calls, plus an initial value. The :meth:`acquire` method
820 .. method:: acquire(blocking=True, timeout=None)
822 Acquire a semaphore.
839 most *timeout* seconds. If acquire does not complete successfully in
881 Once spawned, worker threads call the semaphore's acquire and release methods
1102 All of the objects provided by this module that have :meth:`acquire` and
1104 statement. The :meth:`acquire` method will be called when the block is
1113 some_lock.acquire()