Home
last modified time | relevance | path

Searched refs:acquire_nowait (Results 1 – 9 of 9) sorted by relevance

/dports/net/py-trio/trio-0.19.0/trio/tests/
H A Dtest_sync.py56 c.acquire_nowait()
68 c.acquire_nowait()
123 c.acquire_nowait()
191 s.acquire_nowait()
197 s.acquire_nowait()
205 s.acquire_nowait()
238 bs.acquire_nowait()
261 l.acquire_nowait()
271 l.acquire_nowait()
274 l.acquire_nowait()
[all …]
/dports/devel/py-anyio/anyio-3.4.0/src/anyio/_core/
H A D_synchronization.py119 self.acquire_nowait()
139 def acquire_nowait(self) -> None: member in Lock
205 def acquire_nowait(self) -> None: member in Condition
212 self._lock.acquire_nowait()
298 self.acquire_nowait()
314 def acquire_nowait(self) -> None: member in Semaphore
402 def acquire_nowait(self) -> DeprecatedAwaitable: member in CapacityLimiter
/dports/devel/py-anyio/anyio-3.4.0/tests/
H A Dtest_synchronization.py56 lock.acquire_nowait()
61 pytest.raises(WouldBlock, lock.acquire_nowait)
199 condition.acquire_nowait()
204 pytest.raises(WouldBlock, condition.acquire_nowait)
292 semaphore.acquire_nowait()
294 pytest.raises(WouldBlock, semaphore.acquire_nowait)
360 semaphore.acquire_nowait()
364 pytest.raises(WouldBlock, semaphore.acquire_nowait)
H A Dtest_compat.py95 await limiter.acquire_nowait()
111 condition.acquire_nowait()
122 lock.acquire_nowait()
133 semaphore.acquire_nowait()
/dports/net/py-trio/trio-0.19.0/trio/
H A D_sync.py224 def acquire_nowait(self): member in CapacityLimiter
424 def acquire_nowait(self): member in Semaphore
445 self.acquire_nowait()
515 def acquire_nowait(self): member in _LockImpl
537 self.acquire_nowait()
695 def acquire_nowait(self): member in Condition
702 return self._lock.acquire_nowait()
/dports/devel/py-anyio/anyio-3.4.0/src/anyio/_backends/
H A D_trio.py680 def acquire_nowait(self) -> DeprecatedAwaitable: member in CapacityLimiter
681 self.__original.acquire_nowait()
682 return DeprecatedAwaitable(self.acquire_nowait)
H A D_asyncio.py1713 def acquire_nowait(self) -> DeprecatedAwaitable: member in CapacityLimiter
1715 return DeprecatedAwaitable(self.acquire_nowait)
/dports/devel/py-anyio/anyio-3.4.0/docs/
H A Dversionhistory.rst144 * ``CapacityLimiter.acquire_nowait()``
214 * Added the ``Lock.acquire_nowait()``, ``Condition.acquire_nowait()`` and
215 ``Semaphore.acquire_nowait()`` methods
H A Dmigration.rst23 * :meth:`CapacityLimiter.acquire_nowait`