MMSMutex Class Reference

#include <mmsmutex.h>

List of all members.

Public Member Functions

 ~MMSMutex ()
int lock ()
int unlock ()
int trylock ()

Private Attributes

pthread_mutex_t mutex
pthread_mutexattr_t mutex_attr

Detailed Description

Definition at line 50 of file mmsmutex.h.

Constructor & Destructor Documentation

MMSMutex::MMSMutex ( int  attr = PTHREAD_MUTEX_ERRORCHECK  ) 

Definition at line 35 of file mmsmutex.cpp.

MMSMutex::~MMSMutex (  ) 

Definition at line 43 of file mmsmutex.cpp.

Member Function Documentation

int MMSMutex::lock (  ) 

Definition at line 47 of file mmsmutex.cpp.

int MMSMutex::unlock (  ) 

Definition at line 51 of file mmsmutex.cpp.

int MMSMutex::trylock (  ) 

Definition at line 55 of file mmsmutex.cpp.

Member Data Documentation

pthread_mutex_t MMSMutex::mutex [private]

Definition at line 52 of file mmsmutex.h.

pthread_mutexattr_t MMSMutex::mutex_attr [private]

Definition at line 53 of file mmsmutex.h.

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