Bike-X  0.8
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
OVR::Mutex Class Reference

#include "OVR_Threads.h"

Collaboration diagram for OVR::Mutex:
Collaboration graph

Data Structures

class  Locker
 

Public Member Functions

 Mutex (bool recursive=1)
 
 ~Mutex ()
 
void DoLock ()
 
bool TryLock ()
 
void Unlock ()
 
bool IsLockedByAnotherThread ()
 

Private Attributes

MutexImplpImpl
 

Friends

class WaitConditionImpl
 
class MutexImpl
 

Detailed Description

Definition at line 64 of file OVR_Threads.h.

Constructor & Destructor Documentation

OVR::Mutex::Mutex ( bool  recursive = 1)

Definition at line 159 of file OVR_ThreadsPthread.cpp.

OVR::Mutex::~Mutex ( )

Definition at line 165 of file OVR_ThreadsPthread.cpp.

Member Function Documentation

void OVR::Mutex::DoLock ( )

Definition at line 171 of file OVR_ThreadsPthread.cpp.

bool OVR::Mutex::IsLockedByAnotherThread ( )

Definition at line 183 of file OVR_ThreadsPthread.cpp.

bool OVR::Mutex::TryLock ( )

Definition at line 175 of file OVR_ThreadsPthread.cpp.

void OVR::Mutex::Unlock ( )

Definition at line 179 of file OVR_ThreadsPthread.cpp.

Friends And Related Function Documentation

friend class MutexImpl
friend

Definition at line 67 of file OVR_Threads.h.

friend class WaitConditionImpl
friend

Definition at line 66 of file OVR_Threads.h.

Field Documentation

MutexImpl* OVR::Mutex::pImpl
private

Definition at line 69 of file OVR_Threads.h.


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