#include <UT_SpinLock.h>
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 () |
Definition at line 32 of file UT_SpinLock.h.
| typedef UT_LockScopeType<UT_SpinLockT<RECURSIVE> > UT_SpinLockT< RECURSIVE >::Scope |
Definition at line 73 of file UT_SpinLock.h.
| UT_SpinLockT< RECURSIVE >::UT_SpinLockT | ( | int | lockstate = 0 |
) | [explicit] |
| UT_SpinLockT< RECURSIVE >::~UT_SpinLockT | ( | ) |
| void UT_SpinLockT< RECURSIVE >::debugLock | ( | bool | debug | ) |
| int UT_SpinLockT< RECURSIVE >::getCollisions | ( | ) | [inline] |
Definition at line 71 of file UT_SpinLock.h.
| bool UT_SpinLockT< RECURSIVE >::isLocked | ( | ) | [inline] |
Definition at line 68 of file UT_SpinLock.h.
| void UT_SpinLockT< RECURSIVE >::lock | ( | ) |
| bool UT_SpinLockT< RECURSIVE >::lock | ( | int | ntrials | ) |
| void UT_SpinLockT< RECURSIVE >::lockLW | ( | ) |
| bool UT_SpinLockT< RECURSIVE >::lockLW | ( | int | ntrials | ) |
| void UT_SpinLockT< RECURSIVE >::lockNap | ( | ) |
| bool UT_SpinLockT< RECURSIVE >::lockNap | ( | int | ntrials | ) |
| bool UT_SpinLockT< RECURSIVE >::safeLock | ( | ) | [inline] |
Definition at line 56 of file UT_SpinLock.h.
| void UT_SpinLockT< RECURSIVE >::trigger | ( | ) |
| bool UT_SpinLockT< RECURSIVE >::tryLock | ( | ) |
| void UT_SpinLockT< RECURSIVE >::unlock | ( | ) |
| void UT_SpinLockT< RECURSIVE >::waitForTrigger | ( | ) |
1.5.9