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.
#include <GThread.h>
Public Member Functions | |
GSpinLockHolder (GSpinLock *pLock, const char *szWhoHoldsTheLock) | |
~GSpinLockHolder () | |
Protected Attributes | |
GSpinLock * | m_pLock |
|
inline |
|
inline |
|
protected |