![]() |
GemaCoreLib
The GeMA Core library
|
RAII object used to acquire a spin lock and release it upon object destruction. More...
#include <gmSpinLock.h>
Public Member Functions | |
GmSpinLocker (GmSpinLock &lock) | |
Constructor. Acquires the lock. | |
~GmSpinLocker () | |
Destructo. Releases the lock. | |
Private Attributes | |
GmSpinLock & | _lock |
The spin lock object. | |
RAII object used to acquire a spin lock and release it upon object destruction.