2 #ifndef _YI_AUTO_SPIN_LOCK_H_ 3 #define _YI_AUTO_SPIN_LOCK_H_ 127 m_rSpinLock(rSpinLock)
CYIAutoSpinLock(CYISpinLock &rSpinLock)
Definition: YiAutoSpinLock.h:126
bool Unlock()
Definition: YiSpinLock.h:129
The CYIAutoSpinLock is a helper class that simplifies the locking and unlocking of spin locks based o...
Definition: YiAutoSpinLock.h:93
void Relock()
Definition: YiAutoSpinLock.h:137
Provides access serialization between threads, where a thread trying to acquire the lock waits in a l...
Definition: YiSpinLock.h:65
bool Lock()
Definition: YiSpinLock.h:109
~CYIAutoSpinLock()
Definition: YiAutoSpinLock.h:132
void Unlock()
Definition: YiAutoSpinLock.h:142