GemaCoreLib
The GeMA Core library
Public Member Functions | Private Attributes | List of all members
GmSpinLocker Class Reference

RAII object used to acquire a spin lock and release it upon object destruction. More...

#include <gmSpinLock.h>

Collaboration diagram for GmSpinLocker:
Collaboration graph
[legend]

Public Member Functions

 GmSpinLocker (GmSpinLock &lock)
 Constructor. Acquires the lock.
 
 ~GmSpinLocker ()
 Destructo. Releases the lock.
 

Private Attributes

GmSpinLock_lock
 The spin lock object.
 

Detailed Description

RAII object used to acquire a spin lock and release it upon object destruction.


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