UT_SpinLockT< RECURSIVE > Class Template Reference

#include <UT_SpinLock.h>

List of all members.

Public Types

typedef UT_LockScopeType
< UT_SpinLockT< RECURSIVE > > 
Scope

Public Member Functions

 UT_SpinLockT (int lockstate=0)
 ~UT_SpinLockT ()
bool tryLock ()
bool lock (int ntrials)
bool lockLW (int ntrials)
bool lockNap (int ntrials)
void lock ()
void lockLW ()
void lockNap ()
bool safeLock ()
void unlock ()
void waitForTrigger ()
void trigger ()
void debugLock (bool debug)
bool isLocked ()
int getCollisions ()


Detailed Description

template<bool RECURSIVE = false>
class UT_SpinLockT< RECURSIVE >

Definition at line 32 of file UT_SpinLock.h.


Member Typedef Documentation

template<bool RECURSIVE = false>
typedef UT_LockScopeType<UT_SpinLockT<RECURSIVE> > UT_SpinLockT< RECURSIVE >::Scope

Definition at line 73 of file UT_SpinLock.h.


Constructor & Destructor Documentation

template<bool RECURSIVE = false>
UT_SpinLockT< RECURSIVE >::UT_SpinLockT ( int  lockstate = 0  )  [explicit]

template<bool RECURSIVE = false>
UT_SpinLockT< RECURSIVE >::~UT_SpinLockT (  ) 


Member Function Documentation

template<bool RECURSIVE = false>
void UT_SpinLockT< RECURSIVE >::debugLock ( bool  debug  ) 

template<bool RECURSIVE = false>
int UT_SpinLockT< RECURSIVE >::getCollisions (  )  [inline]

Definition at line 71 of file UT_SpinLock.h.

template<bool RECURSIVE = false>
bool UT_SpinLockT< RECURSIVE >::isLocked (  )  [inline]

Definition at line 68 of file UT_SpinLock.h.

template<bool RECURSIVE = false>
void UT_SpinLockT< RECURSIVE >::lock (  ) 

template<bool RECURSIVE = false>
bool UT_SpinLockT< RECURSIVE >::lock ( int  ntrials  ) 

template<bool RECURSIVE = false>
void UT_SpinLockT< RECURSIVE >::lockLW (  ) 

template<bool RECURSIVE = false>
bool UT_SpinLockT< RECURSIVE >::lockLW ( int  ntrials  ) 

template<bool RECURSIVE = false>
void UT_SpinLockT< RECURSIVE >::lockNap (  ) 

template<bool RECURSIVE = false>
bool UT_SpinLockT< RECURSIVE >::lockNap ( int  ntrials  ) 

template<bool RECURSIVE = false>
bool UT_SpinLockT< RECURSIVE >::safeLock (  )  [inline]

Definition at line 56 of file UT_SpinLock.h.

template<bool RECURSIVE = false>
void UT_SpinLockT< RECURSIVE >::trigger (  ) 

template<bool RECURSIVE = false>
bool UT_SpinLockT< RECURSIVE >::tryLock (  ) 

template<bool RECURSIVE = false>
void UT_SpinLockT< RECURSIVE >::unlock (  ) 

template<bool RECURSIVE = false>
void UT_SpinLockT< RECURSIVE >::waitForTrigger (  ) 


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

Generated on Mon Jan 28 00:30:21 2013 for HDK by  doxygen 1.5.9