|
AGX Dynamics 2.41.3.0
|
Spin-lock mutex. More...
#include <SpinMutex.h>
Public Member Functions | |
| SpinMutex () | |
| SpinMutex (const SpinMutex &other) | |
| ~SpinMutex () | |
| bool | isLocked () const |
| Debug. | |
| void | lock () |
| Lock the mutex. | |
| SpinMutex & | operator= (const SpinMutex &other) |
| bool | try_lock () |
| bool | trylock () |
| Deprecated. | |
| void | unlock () |
| Unlock the mutex. | |
Spin-lock mutex.
Definition at line 46 of file SpinMutex.h.
| agx::SpinMutex::SpinMutex | ( | ) |
Definition at line 93 of file SpinMutex.h.
| agx::SpinMutex::~SpinMutex | ( | ) |
Definition at line 98 of file SpinMutex.h.
References agxAssert, agx::forcedShutdown(), and isLocked().
| agx::SpinMutex::SpinMutex | ( | const SpinMutex & | other | ) |
| bool agx::SpinMutex::isLocked | ( | ) | const |
| void agx::SpinMutex::lock | ( | ) |
Lock the mutex.
Definition at line 103 of file SpinMutex.h.
| bool agx::SpinMutex::try_lock | ( | ) |
Definition at line 139 of file SpinMutex.h.
| bool agx::SpinMutex::trylock | ( | ) |
Deprecated.
Prefer the standard try_lock. Try to lock the mutex.
Definition at line 129 of file SpinMutex.h.
| void agx::SpinMutex::unlock | ( | ) |
Unlock the mutex.
Definition at line 120 of file SpinMutex.h.