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ยง