RavEngine
Loading...
Searching...
No Matches
physx::PxMutexImpl Class Reference

Public Member Functions

 PxMutexImpl ()
 
 ~PxMutexImpl ()
 
void lock ()
 
bool trylock ()
 
void unlock ()
 

Static Public Member Functions

static uint32_t getSize ()
 

Constructor & Destructor Documentation

◆ PxMutexImpl()

physx::PxMutexImpl::PxMutexImpl ( )

The constructor for Mutex creates a mutex. It is initially unlocked.

◆ ~PxMutexImpl()

physx::PxMutexImpl::~PxMutexImpl ( )

The destructor for Mutex deletes the mutex.

Member Function Documentation

◆ getSize()

uint32_t physx::PxMutexImpl::getSize ( )
static

Size of this class.

◆ lock()

void physx::PxMutexImpl::lock ( )

Acquire (lock) the mutex. If the mutex is already locked by another thread, this method blocks until the mutex is unlocked.

◆ trylock()

bool physx::PxMutexImpl::trylock ( )

Acquire (lock) the mutex. If the mutex is already locked by another thread, this method returns false without blocking.

◆ unlock()

void physx::PxMutexImpl::unlock ( )

Release (unlock) the mutex.


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