Expand description
Generic kernel lock and guard.
It contains a generic Rust lock and guard that allow for different backends (e.g., mutexes, spinlocks, raw spinlocks) to be provided with minimal effort.
Modules§
Structs§
- Global
Guard - A guard for a
GlobalLock
. - Global
Lock - Type used for global locks.
- Global
Locked By - A version of
LockedBy
for aGlobalLock
. - Guard
- A lock guard.
- Lock
- A mutual exclusion primitive.
Traits§
- Backend
- The “backend” of a lock.
- Global
Lock Backend - Trait implemented for marker types for global locks.