Expand description
Provides kernel synchronisation primitives
These are currently based on spinlocks but this may be changed in future
Modules§
- mutex 🔒
Non- use_std - rwlock 🔒
Non- use_std - irq_
cell 🔒Experimental Non- use_std - once 🔒
Experimental Non- use_std
Structs§
- Syncify
- Bootstrap
Once Lock Experimental Non- use_std - IrqCell
Experimental Non- use_std - IrqGuard
Experimental Non- use_std - Lazy
Lock Experimental Non- use_std - Once
Experimental Non- use_std - Once
Lock Experimental Non- use_std
Traits§
- Spinlock
Guard Ext Non- use_std
Type Aliases§
- RwRead
Guard Non- use_std - RAII structure used to release the shared read access of a lock when dropped.
- RwSpinlock
Non- use_std - A reader-writer lock
- RwUpgradable
Read Guard Non- use_std - RAII structure used to release upgradable read access of a lock when dropped.
- RwWrite
Guard Non- use_std - RAII structure used to release the exclusive write access of a lock when dropped.
- Spinlock
Non- use_std - A mutual exclusion primitive useful for protecting shared data
- Spinlock
Guard Non- use_std - An RAII implementation of a “scoped lock” of a mutex. When this structure is dropped (falls out of scope), the lock will be unlocked.