Module cros_async::sync::spin

source ·

Structs§

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

Constants§