Struct concurrency_traits::semaphore::AtomicSemaphore [−][src]
pub struct AtomicSemaphore { /* fields omitted */ }
Expand description
A semaphore based on atomic operations.
Implementations
impl AtomicSemaphore
[src]
impl AtomicSemaphore
[src]pub fn new(start_count: usize) -> Self
[src]
pub fn new(start_count: usize) -> Self
[src]Creates a new AtomicSemaphore
from a start_count
.
Trait Implementations
impl Debug for AtomicSemaphore
[src]
impl Debug for AtomicSemaphore
[src]impl Default for AtomicSemaphore
[src]
impl Default for AtomicSemaphore
[src]impl ReadoutSemaphore for AtomicSemaphore
[src]
impl ReadoutSemaphore for AtomicSemaphore
[src]impl TrySemaphore for AtomicSemaphore
[src]
impl TrySemaphore for AtomicSemaphore
[src]