Module cros_asyncv2::sync::mu
source · [−]Structs
A high-level primitive that provides safe, mutable access to a shared resource.
An RAII implementation of a “scoped exclusive lock” for a
Mutex
. When this structure is
dropped, the lock will be released. The resource protected by the Mutex
can be accessed via
the Deref
and DerefMut
implementations of this structure.An RAII implementation of a “scoped shared lock” for a
Mutex
. When this structure is dropped,
the lock will be released. The resource protected by the Mutex
can be accessed via the Deref
implementation of this structure.RawMutex 🔒
Shared 🔒
Constants
Traits
Kind 🔒