coil::Mutex Class Reference

#include <Mutex.h>

List of all members.

Public Member Functions

 Mutex (const char *const name=0)
 ~Mutex ()
void lock ()
bool trylock ()
void unlock ()

Public Attributes

pthread_mutex_t mutex_


Constructor & Destructor Documentation

coil::Mutex::Mutex ( const char *const   name = 0  )  [inline]

References mutex_.

coil::Mutex::~Mutex (  )  [inline]

References mutex_.


Member Function Documentation

void coil::Mutex::lock (  )  [inline]

References mutex_.

Referenced by coil::log_stream< char >::lock().

bool coil::Mutex::trylock (  )  [inline]

References mutex_.

void coil::Mutex::unlock (  )  [inline]

References mutex_.

Referenced by coil::log_stream< char >::unlock().


Member Data Documentation

pthread_mutex_t coil::Mutex::mutex_

Referenced by lock(), Mutex(), trylock(), unlock(), and ~Mutex().


Generated on Thu Jan 28 13:25:35 2010 for OpenRTM by  doxygen 1.5.5