|
GClasses
|
This holder takes a lock (if it is non-NULL) when you construct it. It guarantees to release the lock when it is destroyed. More...
#include <GThread.h>
Public Member Functions | |
| GSpinLockHolder (GSpinLock *pLock, const char *szWhoHoldsTheLock) | |
| ~GSpinLockHolder () | |
Protected Attributes | |
| GSpinLock * | m_pLock |
This holder takes a lock (if it is non-NULL) when you construct it. It guarantees to release the lock when it is destroyed.
|
inline |
|
inline |
|
protected |