Home
last modified time | relevance | path

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

/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/sync/
H A Dsemaphore_inner.rs37 pub(crate) struct Permit<'a> { struct
153 pub(crate) fn acquire(&self) -> Permit<'_> { in acquire()
154 Permit::new(self) in acquire()
220 impl<'a> Permit<'a> { implementation
221 fn new(semaphore: &'a SemaphoreInner) -> Permit { in new() argument
222 Permit { in new()
230 impl Future for Permit<'_> { implementation
243 impl Drop for Permit<'_> { implementation