Module abyss::spin_lock

source ·
Expand description

SMP supported spinlock.

Structs

A mutual exclusion primitive useful for protecting shared data
An RAII implementation of a “scoped lock” of a spinlock. When this structure is dropped (falls out of scope), the lock will be unlocked.

Enums

An enumeration of possible errors associated while trying to acquire a lock, from the try_lock method on a SpinLock.