ZXFoundation™ 26h2
Loading...
Searching...
No Matches
zxfoundation::sync::irq_lock_guard< L > Struct Template Referenceexport

Scoped lock guard that saves and restores IRQ state. More...

Public Member 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).
auto operator= (const irq_lock_guard &)=delete
auto operator= (irq_lock_guard &&)=delete
 ~irq_lock_guard () noexcept
 Release the lock and restore IRQ state.

Detailed Description

template<irq_lockable L>
struct zxfoundation::sync::irq_lock_guard< L >

Scoped lock guard that saves and restores IRQ state.

Template Parameters
LA type satisfying the irq_lockable concept.

The documentation for this struct was generated from the following file:
  • zxfoundation/sync/lockable.cxxm