Itasca C++ Interface
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SpinLock Class Reference

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 ()
 

The documentation for this class was generated from the following file: