Struct itron_solid_fmp3::semaphore::SemaphoreRef [−][src]
pub struct SemaphoreRef<'a> { /* fields omitted */ }
This is supported on crate feature
unstable
only.Expand description
A borrowed reference to a semaphore.
Implementations
Get the raw object ID as abi::NonNullID
.
sig_sem
: Increment the semaphore count by one.
wai_sem
: Decrement the semaphore count by one. Blocks the current
task if the new value is negative.
twai_sem
: Decrement the semaphore count by one. Blocks the current
task with timeout if the new value is negative.
pol_sem
: Decrement the semaphore count by one. Fails and returns
immediately if the new value is negative.
ini_sem
: Initialize the semaphore.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.