Home
last modified time | relevance | path

Searched defs:try_acquire (Results 1 – 2 of 2) sorted by relevance

/commonlibrary/rust/ylong_runtime/ylong_runtime/src/sync/
Dsemaphore.rs160 pub fn try_acquire(&self) -> Result<SemaphorePermit, SemaphoreError> { in try_acquire() method
275 pub fn try_acquire(&self) -> Result<AutoRelSemaphorePermit<'_>, SemaphoreError> { in try_acquire() method
Dsemaphore_inner.rs117 pub(crate) fn try_acquire(&self) -> Result<(), SemaphoreError> { in try_acquire() method