HDK
|
#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 () |
Definition at line 105 of file UT_SpinLock.h.
using UT_SpinLockT< RecursiveLock, LockDebug >::Scope = UT_UniqueLock<UT_SpinLockT<RecursiveLock,LockDebug>> |
Definition at line 145 of file UT_SpinLock.h.
|
explicit |
UT_SpinLockT< RecursiveLock, LockDebug >::~UT_SpinLockT | ( | ) |
|
inline |
Definition at line 135 of file UT_SpinLock.h.
|
inline |
Definition at line 143 of file UT_SpinLock.h.
|
inline |
Definition at line 113 of file UT_SpinLock.h.
|
inline |
Definition at line 138 of file UT_SpinLock.h.
bool UT_SpinLockT< RecursiveLock, LockDebug >::lock | ( | int | ms | ) |
void UT_SpinLockT< RecursiveLock, LockDebug >::lock | ( | ) |
|
inline |
Definition at line 125 of file UT_SpinLock.h.
void UT_SpinLockT< RecursiveLock, LockDebug >::trigger | ( | ) |
bool UT_SpinLockT< RecursiveLock, LockDebug >::tryLock | ( | ) |
void UT_SpinLockT< RecursiveLock, LockDebug >::unlock | ( | ) |
void UT_SpinLockT< RecursiveLock, LockDebug >::waitForTrigger | ( | ) |