|
TTKMusicPlayer
4.3.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
|
The class of the spin lock. More...
#include <ttkspinlock.h>
Public Member Functions | |
| TTKSpinLock ()=default | |
| void | lock () noexcept |
| bool | try_lock () noexcept |
| void | unlock () noexcept |
Private Attributes | |
| std::atomic_flag | m_lock = ATOMIC_FLAG_INIT |
The class of the spin lock.
Definition at line 28 of file ttkspinlock.h.
|
default |
Object constructor.
|
inlinenoexcept |
Spink locker to lock.
Definition at line 40 of file ttkspinlock.h.
|
inlinenoexcept |
Spink locker to try lock.
Definition at line 52 of file ttkspinlock.h.
|
inlinenoexcept |
Spink locker to unlock.
Definition at line 60 of file ttkspinlock.h.
|
private |
Definition at line 66 of file ttkspinlock.h.
1.8.8