cMutex Class Reference

#include <thread.h>

List of all members.

Public Member Functions

 cMutex (void)
 ~cMutex ()
void Lock (void)
void Unlock (void)

Private Attributes

pthread_mutex_t mutex
int locked

Friends

class cCondVar


Detailed Description

Definition at line 63 of file thread.h.


Constructor & Destructor Documentation

cMutex::cMutex ( void   ) 

Definition at line 176 of file thread.c.

References locked, and mutex.

cMutex::~cMutex (  ) 

Definition at line 185 of file thread.c.

References mutex.


Member Function Documentation

void cMutex::Lock ( void   ) 

void cMutex::Unlock ( void   ) 


Friends And Related Function Documentation

friend class cCondVar [friend]

Definition at line 64 of file thread.h.


Member Data Documentation

pthread_mutex_t cMutex::mutex [private]

Definition at line 66 of file thread.h.

Referenced by cMutex(), Lock(), cCondVar::TimedWait(), Unlock(), cCondVar::Wait(), and ~cMutex().

int cMutex::locked [private]

Definition at line 67 of file thread.h.

Referenced by cMutex(), Lock(), cCondVar::TimedWait(), Unlock(), and cCondVar::Wait().


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

Generated on Tue Nov 4 20:00:18 2008 for VDR by  doxygen 1.5.6