Lines Matching full:acquire
218 (:meth:`Lock.acquire`, :meth:`RLock.acquire`, :meth:`Condition.wait`, etc.).
490 in the unlocked state. It has two basic methods, :meth:`~Lock.acquire` and
491 :meth:`~Lock.release`. When the state is unlocked, :meth:`~Lock.acquire`
493 :meth:`~Lock.acquire` blocks until a call to :meth:`~Lock.release` in another
494 thread changes it to unlocked, then the :meth:`~Lock.acquire` call resets it
502 When more than one thread is blocked in :meth:`~Lock.acquire` waiting for the
513 lock, subsequent attempts to acquire it block, until it is released; any
521 .. method:: acquire(blocking=True, timeout=-1)
523 Acquire a lock, blocking or non-blocking.
579 To lock the lock, a thread calls its :meth:`~RLock.acquire` method; this
581 its :meth:`~Lock.release` method. :meth:`~Lock.acquire`/:meth:`~Lock.release`
584 allows another thread blocked in :meth:`~Lock.acquire` to proceed.
593 reentrant lock, the same thread may acquire it again without blocking; the
601 .. method:: acquire(blocking=True, timeout=-1)
603 Acquire a lock, blocking or non-blocking.
656 the enclosed block. The :meth:`~Condition.acquire` and
726 .. method:: acquire(*args)
728 Acquire the underlying lock. This method calls the corresponding method on
823 used the names ``P()`` and ``V()`` instead of :meth:`~Semaphore.acquire` and
827 :meth:`~Semaphore.acquire` call and incremented by each :meth:`~Semaphore.release`
828 call. The counter can never go below zero; when :meth:`~Semaphore.acquire`
839 :meth:`acquire` calls, plus an initial value. The :meth:`acquire` method
850 .. method:: acquire(blocking=True, timeout=None)
852 Acquire a semaphore.
869 most *timeout* seconds. If acquire does not complete successfully in
911 Once spawned, worker threads call the semaphore's acquire and release methods
1132 All of the objects provided by this module that have :meth:`acquire` and
1134 statement. The :meth:`acquire` method will be called when the block is
1143 some_lock.acquire()