Public Member Functions | Private Attributes | Friends
OVR::MutexImpl Class Reference
Inheritance diagram for OVR::MutexImpl:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void DoLock ()
void DoLock ()
bool IsLockedByAnotherThread (Mutex *pmutex)
bool IsLockedByAnotherThread (Mutex *pmutex)
bool IsSignaled () const
 MutexImpl (bool recursive=1)
 MutexImpl (Mutex *pmutex, bool recursive=1)
bool TryLock ()
bool TryLock ()
void Unlock (Mutex *pmutex)
void Unlock (Mutex *pmutex)
 ~MutexImpl ()
 ~MutexImpl ()

Private Attributes

HANDLE hMutexOrSemaphore
volatile unsigned LockCount
unsigned LockCount
pthread_t LockedBy
bool Recursive
pthread_mutex_t SMutex

Friends

class WaitConditionImpl

Detailed Description

Definition at line 33 of file OVR_ThreadsPthread.cpp.


Constructor & Destructor Documentation

OVR::MutexImpl::MutexImpl ( Mutex pmutex,
bool  recursive = 1 
)

Definition at line 61 of file OVR_ThreadsPthread.cpp.

Definition at line 81 of file OVR_ThreadsPthread.cpp.

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

Definition at line 55 of file OVR_ThreadsWinAPI.cpp.


Member Function Documentation

Definition at line 88 of file OVR_ThreadsPthread.cpp.

Definition at line 118 of file OVR_ThreadsPthread.cpp.

Definition at line 128 of file OVR_ThreadsPthread.cpp.

Definition at line 95 of file OVR_ThreadsPthread.cpp.

void OVR::MutexImpl::Unlock ( Mutex pmutex)
void OVR::MutexImpl::Unlock ( Mutex pmutex)

Definition at line 107 of file OVR_ThreadsPthread.cpp.


Friends And Related Function Documentation

Definition at line 41 of file OVR_ThreadsPthread.cpp.


Member Data Documentation

Definition at line 35 of file OVR_ThreadsWinAPI.cpp.

volatile unsigned OVR::MutexImpl::LockCount [private]

Definition at line 37 of file OVR_ThreadsWinAPI.cpp.

unsigned OVR::MutexImpl::LockCount [private]

Definition at line 38 of file OVR_ThreadsPthread.cpp.

pthread_t OVR::MutexImpl::LockedBy [private]

Definition at line 39 of file OVR_ThreadsPthread.cpp.

bool OVR::MutexImpl::Recursive [private]

Definition at line 37 of file OVR_ThreadsPthread.cpp.

pthread_mutex_t OVR::MutexImpl::SMutex [private]

Definition at line 36 of file OVR_ThreadsPthread.cpp.


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


oculus_sdk
Author(s):
autogenerated on Mon Oct 6 2014 03:01:20