vdr  1.7.27
Public Member Functions | Private Attributes | Friends
cMutex Class Reference

#include <thread.h>

List of all members.

Public Member Functions

 cMutex (void)
 ~cMutex ()
void Lock (void)
void Unlock (void)
 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 include/vdr/thread.h.


Constructor & Destructor Documentation

cMutex::cMutex ( void  )

Definition at line 177 of file thread.c.

References locked, and mutex.

Definition at line 186 of file thread.c.

References mutex.

cMutex::cMutex ( void  )

Member Function Documentation

void cMutex::Lock ( void  )
void cMutex::Lock ( void  )
void cMutex::Unlock ( void  )
void cMutex::Unlock ( void  )

Friends And Related Function Documentation

cCondVar [friend]

Definition at line 64 of file include/vdr/thread.h.


Member Data Documentation

int cMutex::locked [private]

Definition at line 67 of file include/vdr/thread.h.

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

pthread_mutex_t cMutex::mutex [private]

Definition at line 66 of file include/vdr/thread.h.

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


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