Public Member Functions | Private Attributes

smart_mutex Class Reference
[Threadsafe Collection API]

class that automatically creates and destroys pthread mutexes More...

#include <smart_mutex.h>

List of all members.

Public Member Functions

 smart_mutex (void)
 constructor will automatically create pthread mutex
 ~smart_mutex (void)
 destructor will automatically destroy pthread mutex
pthread_mutex_t * getMutex (void)
 accessor to retrieve pthread mutex object

Private Attributes

pthread_mutex_t m_mutex

Detailed Description

class that automatically creates and destroys pthread mutexes

Definition at line 53 of file smart_mutex.h.


Constructor & Destructor Documentation

smart_mutex::smart_mutex ( void   )  [inline]

constructor will automatically create pthread mutex

Definition at line 56 of file smart_mutex.h.


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