physx::shdfnd::MutexImpl Class Reference
#include <PsMutex.h>
Public Member Functions | |
MutexImpl () | |
~MutexImpl () | |
void | lock () |
bool | trylock () |
void | unlock () |
Static Public Member Functions | |
static const uint32_t & | getSize () |
Constructor & Destructor Documentation
physx::shdfnd::MutexImpl::MutexImpl | ( | ) |
The constructor for Mutex creates a mutex. It is initially unlocked.
physx::shdfnd::MutexImpl::~MutexImpl | ( | ) |
The destructor for Mutex deletes the mutex.
Member Function Documentation
const uint32_t & physx::shdfnd::MutexImpl::getSize | ( | ) | [static] |
Size of this class.
void physx::shdfnd::MutexImpl::lock | ( | ) |
Acquire (lock) the mutex. If the mutex is already locked by another thread, this method blocks until the mutex is unlocked.
bool physx::shdfnd::MutexImpl::trylock | ( | ) |
Acquire (lock) the mutex. If the mutex is already locked by another thread, this method returns false without blocking.
void physx::shdfnd::MutexImpl::unlock | ( | ) |
Release (unlock) the mutex.
The documentation for this class was generated from the following files:
- E:/p4/sw/physx/PxShared/1.0/trunk/src/foundation/include/PsMutex.h
- E:/p4/sw/physx/PxShared/1.0/trunk/src/foundation/src/windows/PsWindowsMutex.cpp
Generated on Tue Jul 28 14:21:58 2015 for NVIDIA(R) PsFoundation Reference by 1.5.8