Itasca C++ Interface
Loading...
Searching...
No Matches
SpinLock Class Reference

Public Member Functions

 SpinLock ()
 By default the QAtomicInt is 0 on creation.
 SpinLock (const SpinLock &)
 SpinLock (SpinLock &&)
const SpinLockoperator= (const SpinLock &)
const SpinLockoperator= (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:
  • C:/Source/itasca-suite/common/base/src/spinlock.h