Module sync

1.0.0 · Source
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 🔒 ExperimentalNon-use_std
once 🔒 ExperimentalNon-use_std

Structs§

Syncify
BootstrapOnceLockExperimentalNon-use_std
IrqCellExperimentalNon-use_std
IrqGuardExperimentalNon-use_std
LazyLockExperimentalNon-use_std
OnceExperimentalNon-use_std
OnceLockExperimentalNon-use_std

Traits§

SpinlockGuardExtNon-use_std

Type Aliases§

RwReadGuardNon-use_std
RAII structure used to release the shared read access of a lock when dropped.
RwSpinlockNon-use_std
A reader-writer lock
RwUpgradableReadGuardNon-use_std
RAII structure used to release upgradable read access of a lock when dropped.
RwWriteGuardNon-use_std
RAII structure used to release the exclusive write access of a lock when dropped.
SpinlockNon-use_std
A mutual exclusion primitive useful for protecting shared data
SpinlockGuardNon-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.