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 theSpinLock
can be accessed via theDeref
andDerefMut
implementations of this structure.