Module cros_async::sync::mu

source ·

Structs§

  • Exclusive 🔒
  • RawRwLock 🔒
  • A high-level primitive that provides safe, mutable access to a shared resource.
  • An RAII implementation of a “scoped shared lock” for a RwLock. When this structure is dropped, the lock will be released. The resource protected by the RwLock can be accessed via the Deref implementation of this structure.
  • An RAII implementation of a “scoped exclusive lock” for a RwLock. When this structure is dropped, the lock will be released. The resource protected by the RwLock can be accessed via the Deref and DerefMut implementations of this structure.
  • Shared 🔒

Constants§

Traits§

Functions§