Ptex
Public Member Functions | Private Attributes | List of all members
Mutex Class Reference

#include <PtexPlatform.h>

Public Member Functions

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

Private Attributes

pthread_mutex_t _mutex
 

Detailed Description

Definition at line 125 of file PtexPlatform.h.

Constructor & Destructor Documentation

Mutex::Mutex ( )
inline

Definition at line 127 of file PtexPlatform.h.

References _mutex.

Mutex::~Mutex ( )
inline

Definition at line 128 of file PtexPlatform.h.

References _mutex.

Member Function Documentation

void Mutex::lock ( )
inline

Definition at line 129 of file PtexPlatform.h.

References _mutex.

bool Mutex::trylock ( )
inline

Definition at line 130 of file PtexPlatform.h.

References _mutex.

Referenced by PtexReaderCache::processMru(), and PtexReader::tryClose().

void Mutex::unlock ( )
inline

Definition at line 131 of file PtexPlatform.h.

References _mutex.

Referenced by PtexReaderCache::processMru(), and PtexReader::tryClose().

Member Data Documentation

pthread_mutex_t Mutex::_mutex
private

Definition at line 133 of file PtexPlatform.h.

Referenced by lock(), Mutex(), trylock(), unlock(), and ~Mutex().


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