#include <UT_SpinLock.h>

Public Member Functions | |
| UT_SpinLock (int lockstate=0, bool threadlock=false) | |
| ~UT_SpinLock () | |
| bool | tryLock () |
| bool | lock (int ntrials) |
| bool | lockLW (int ntrials) |
| bool | lockNap (int ntrials) |
| void | lock () |
| void | lockLW () |
| void | lockNap () |
| void | unlock () |
| void | waitForTrigger () |
| void | trigger () |
| void | debugLock (bool debug) |
| bool | isLocked () |
| int | getCollisions () |
Definition at line 27 of file UT_SpinLock.h.
| UT_SpinLock::UT_SpinLock | ( | int | lockstate = 0, |
|
| bool | threadlock = false | |||
| ) | [explicit] |
| UT_SpinLock::~UT_SpinLock | ( | ) |
| void UT_SpinLock::debugLock | ( | bool | debug | ) |
| int UT_SpinLock::getCollisions | ( | ) | [inline] |
Definition at line 68 of file UT_SpinLock.h.
| bool UT_SpinLock::isLocked | ( | ) | [inline] |
Definition at line 65 of file UT_SpinLock.h.
| void UT_SpinLock::lock | ( | ) |
| bool UT_SpinLock::lock | ( | int | ntrials | ) |
| void UT_SpinLock::lockLW | ( | ) |
| bool UT_SpinLock::lockLW | ( | int | ntrials | ) |
| void UT_SpinLock::lockNap | ( | ) |
| bool UT_SpinLock::lockNap | ( | int | ntrials | ) |
| void UT_SpinLock::trigger | ( | ) |
| bool UT_SpinLock::tryLock | ( | ) |
| void UT_SpinLock::unlock | ( | ) |
| void UT_SpinLock::waitForTrigger | ( | ) |
1.5.9