The class of the spin lock.
More...
#include <ttkspinlock.h>
|
std::atomic_flag | m_lock = ATOMIC_FLAG_INIT |
|
The class of the spin lock.
- Author
- Greedysky greed.nosp@m.ysky.nosp@m.@163..nosp@m.com
Definition at line 28 of file ttkspinlock.h.
TTKSpinLock::TTKSpinLock |
( |
| ) |
|
|
default |
void TTKSpinLock::lock |
( |
| ) |
|
|
inlinenoexcept |
bool TTKSpinLock::try_lock |
( |
| ) |
|
|
inlinenoexcept |
void TTKSpinLock::unlock |
( |
| ) |
|
|
inlinenoexcept |
std::atomic_flag TTKSpinLock::m_lock = ATOMIC_FLAG_INIT |
|
private |
The documentation for this class was generated from the following file: