cmlabs::JMutex Class Reference

#include <JSemaphore.h>

Inheritance diagram for cmlabs::JMutex:

Inheritance graph
Collaboration diagram for cmlabs::JMutex:

Collaboration graph

List of all members.

Public Member Functions

 JMutex ()
 ~JMutex ()
Objectclone () const
bool enterMutex (long ms=-1) const
bool leaveMutex () const
bool EnterMutex (long ms=-1) const
bool LeaveMutex () const

Private Attributes

pthread_cond_t * semaphore
pthread_mutex_t * semaphoremutex
pthread_mutex_t * mutex

Detailed Description

Definition at line 104 of file JSemaphore.h.

Constructor & Destructor Documentation

cmlabs::JMutex::JMutex (  ) 

Definition at line 206 of file JSemaphore_Linux.cpp.

cmlabs::JMutex::~JMutex (  ) 

Definition at line 223 of file JSemaphore_Linux.cpp.

Member Function Documentation

Object* cmlabs::JMutex::clone (  )  const [virtual]

Implements cmlabs::Object.

Definition at line 109 of file JSemaphore.h.

bool cmlabs::JMutex::enterMutex ( long  ms = -1  )  const

Definition at line 237 of file JSemaphore_Linux.cpp.

bool cmlabs::JMutex::leaveMutex (  )  const

Definition at line 307 of file JSemaphore_Linux.cpp.

bool cmlabs::JMutex::EnterMutex ( long  ms = -1  )  const

Definition at line 233 of file JSemaphore_Linux.cpp.

bool cmlabs::JMutex::LeaveMutex (  )  const

Definition at line 303 of file JSemaphore_Linux.cpp.

Member Data Documentation

pthread_cond_t* cmlabs::JMutex::semaphore [private]

Definition at line 125 of file JSemaphore.h.

pthread_mutex_t* cmlabs::JMutex::semaphoremutex [private]

Definition at line 126 of file JSemaphore.h.

pthread_mutex_t* cmlabs::JMutex::mutex [private]

Definition at line 127 of file JSemaphore.h.

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

Generated on Tue Jul 7 16:22:48 2009 for CoreLibrary by  doxygen 1.5.6