RAII guard that the spin lock is locked on construction and unlocked it on destruction.
More...
#include <stk_arch.h>
RAII guard that the spin lock is locked on construction and unlocked it on destruction.
Usage example:
{
}
RAII guard that the spin lock is locked on construction and unlocked it on destruction.
Definition at line 593 of file stk_arch.h.
◆ ScopedLock() [1/2]
| stk::hw::SpinLock::ScopedLock::ScopedLock |
( |
SpinLock & | sl | ) |
|
|
inlineexplicit |
◆ ~ScopedLock()
| stk::hw::SpinLock::ScopedLock::~ScopedLock |
( |
| ) |
|
|
inline |
Unlock a spin lock instance.
Definition at line 605 of file stk_arch.h.
References m_sl.
◆ ScopedLock() [2/2]
| stk::hw::SpinLock::ScopedLock::ScopedLock |
( |
const ScopedLock & | | ) |
|
|
privatedelete |
◆ operator=()
◆ m_sl
| SpinLock& stk::hw::SpinLock::ScopedLock::m_sl |
|
private |
The documentation for this class was generated from the following file: