Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
SharedMutex Class Reference

#include <Mutex.h>

Inheritance diagram for SharedMutex:

Public Member Functions

bool try_lock ()
 
void lock ()
 
void unlock ()
 
void lock_shared ()
 

Detailed Description

Very simple wrapper around SharedMutexBase which tracks lock contention in the profiler and asserts that locks/unlocks take place on the same thread

Member Function Documentation

◆ lock()

void SharedMutex::lock ( )
inline

◆ lock_shared()

void SharedMutex::lock_shared ( )
inline

◆ try_lock()

bool SharedMutex::try_lock ( )
inline

◆ unlock()

void SharedMutex::unlock ( )
inline

The documentation for this class was generated from the following file: