HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_SpinLockT< RecursiveLock, LockDebug > Class Template Reference

#include <UT_SpinLock.h>

Public Types

using Scope = UT_UniqueLock< UT_SpinLockT< RecursiveLock, LockDebug >>
 

Public Member Functions

 UT_SpinLockT (int lockstate=0)
 
 ~UT_SpinLockT ()
 
int64 getMemoryUsage (bool inclusive) const
 
bool tryLock ()
 
bool lock (int ms)
 
void lock ()
 
bool safeLock ()
 
void unlock ()
 
void waitForTrigger ()
 
void trigger ()
 
void debugLock (bool debug)
 
bool isLocked ()
 
int getCollisions ()
 

Detailed Description

template<bool RecursiveLock = false, bool LockDebug = true>
class UT_SpinLockT< RecursiveLock, LockDebug >

Definition at line 105 of file UT_SpinLock.h.

Member Typedef Documentation

template<bool RecursiveLock = false, bool LockDebug = true>
using UT_SpinLockT< RecursiveLock, LockDebug >::Scope = UT_UniqueLock<UT_SpinLockT<RecursiveLock,LockDebug>>

Definition at line 145 of file UT_SpinLock.h.

Constructor & Destructor Documentation

template<bool RecursiveLock = false, bool LockDebug = true>
UT_SpinLockT< RecursiveLock, LockDebug >::UT_SpinLockT ( int  lockstate = 0)
explicit
template<bool RecursiveLock = false, bool LockDebug = true>
UT_SpinLockT< RecursiveLock, LockDebug >::~UT_SpinLockT ( )

Member Function Documentation

template<bool RecursiveLock = false, bool LockDebug = true>
void UT_SpinLockT< RecursiveLock, LockDebug >::debugLock ( bool  debug)
inline

Definition at line 135 of file UT_SpinLock.h.

template<bool RecursiveLock = false, bool LockDebug = true>
int UT_SpinLockT< RecursiveLock, LockDebug >::getCollisions ( )
inline

Definition at line 143 of file UT_SpinLock.h.

template<bool RecursiveLock = false, bool LockDebug = true>
int64 UT_SpinLockT< RecursiveLock, LockDebug >::getMemoryUsage ( bool  inclusive) const
inline

Definition at line 113 of file UT_SpinLock.h.

template<bool RecursiveLock = false, bool LockDebug = true>
bool UT_SpinLockT< RecursiveLock, LockDebug >::isLocked ( )
inline

Definition at line 138 of file UT_SpinLock.h.

template<bool RecursiveLock = false, bool LockDebug = true>
bool UT_SpinLockT< RecursiveLock, LockDebug >::lock ( int  ms)
template<bool RecursiveLock = false, bool LockDebug = true>
void UT_SpinLockT< RecursiveLock, LockDebug >::lock ( )
template<bool RecursiveLock = false, bool LockDebug = true>
bool UT_SpinLockT< RecursiveLock, LockDebug >::safeLock ( )
inline

Definition at line 125 of file UT_SpinLock.h.

template<bool RecursiveLock = false, bool LockDebug = true>
void UT_SpinLockT< RecursiveLock, LockDebug >::trigger ( )
template<bool RecursiveLock = false, bool LockDebug = true>
bool UT_SpinLockT< RecursiveLock, LockDebug >::tryLock ( )
template<bool RecursiveLock = false, bool LockDebug = true>
void UT_SpinLockT< RecursiveLock, LockDebug >::unlock ( )
template<bool RecursiveLock = false, bool LockDebug = true>
void UT_SpinLockT< RecursiveLock, LockDebug >::waitForTrigger ( )

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