Itasca C++ Interface
|
Public Member Functions | |
SpinLock () | |
By default the QAtomicInt is 0 on creation. | |
SpinLock (const SpinLock &) | |
SpinLock (SpinLock &&) | |
~SpinLock () | |
A SpinLock object can only be destroyed when it has been released. | |
void | lock () |
Acquire a lock using the test-and-set paradigm. | |
void | unlock () |
Release the lock. | |
bool | try_lock () |