Jolt Physics
A multi core friendly Game Physics Engine
|
#include <PhysicsLock.h>
Static Public Member Functions | |
template<class LockType > | |
static void | sLock (LockType &inMutex JPH_IF_ENABLE_ASSERTS(, PhysicsLockContext inContext, EPhysicsLockTypes inType)) |
template<class LockType > | |
static void | sUnlock (LockType &inMutex JPH_IF_ENABLE_ASSERTS(, PhysicsLockContext inContext, EPhysicsLockTypes inType)) |
template<class LockType > | |
static void | sLockShared (LockType &inMutex JPH_IF_ENABLE_ASSERTS(, PhysicsLockContext inContext, EPhysicsLockTypes inType)) |
template<class LockType > | |
static void | sUnlockShared (LockType &inMutex JPH_IF_ENABLE_ASSERTS(, PhysicsLockContext inContext, EPhysicsLockTypes inType)) |
Helpers to safely lock the different mutexes that are part of the physics system while preventing deadlock Class that keeps track per thread which lock are taken and if the order of locking is correct
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |