ZXFoundation™ 26h2
Loading...
Searching...
No Matches
zxfoundation.sync.lockable Module Reference

Concepts

concept  zxfoundation::sync::irq_lockable
 Concept for lockable types that handle IRQ state.
concept  zxfoundation::sync::lockable
 Concept for basic lockable types.

Data Structures

struct  zxfoundation::sync::irq_lock_guard< L >
 Scoped lock guard that saves and restores IRQ state. More...
struct  zxfoundation::sync::lock_guard< L >
 Standard blocking lock guard. More...

Functions

 irq_lock_guard (const irq_lock_guard &)=delete
 irq_lock_guard (irq_lock_guard &&)=delete
 irq_lock_guard (L &l) noexcept
 Acquire the lock and save IRQ state (blocking).
 lock_guard (const lock_guard &)=delete
 lock_guard (L &l) noexcept
 Acquire the lock (blocking).
 lock_guard (lock_guard &&)=delete
auto operator= (const irq_lock_guard &)=delete
auto operator= (irq_lock_guard &&)=delete
auto operator= (const lock_guard &)=delete
auto operator= (lock_guard &&)=delete
 ~irq_lock_guard () noexcept
 Release the lock and restore IRQ state.
 ~lock_guard () noexcept
 Release the lock.
RAII scoped lock guards
template<lockable L>
 zxfoundation::sync::lock_guard (L &) -> lock_guard< L >
 Deduction guide for lock_guard.
template<irq_lockable L>
 zxfoundation::sync::irq_lock_guard (L &) -> irq_lock_guard< L >
 Deduction guide for irq_lock_guard.

RAII scoped lock guards

template<lockable L>
 zxfoundation::sync::lock_guard (L &) -> lock_guard< L >
 Deduction guide for lock_guard.
template<irq_lockable L>
 zxfoundation::sync::irq_lock_guard (L &) -> irq_lock_guard< L >
 Deduction guide for irq_lock_guard.

Files

file  zxfoundation/sync/lockable.cxxm