#include <LStoreFile.h>
Public Member Functions | |
MutexWrapper (pthread_mutex_t *lock) | |
~MutexWrapper () | |
Public Attributes | |
pthread_mutex_t * | m_lock |
Definition at line 43 of file LStoreFile.h.
LStoreFile::MutexWrapper::MutexWrapper | ( | pthread_mutex_t * | lock | ) |
Definition at line 357 of file LStoreFile.cc.
References m_lock, and filterCSVwithJSON::target.
LStoreFile::MutexWrapper::~MutexWrapper | ( | ) |
Definition at line 363 of file LStoreFile.cc.
{ int retval; if ( (retval = pthread_mutex_unlock( m_lock )) ) { // congrats. pthread_mutex_lock failed and we're in a destructor // I don't know what to do here // Then again, if the mutex is jammed, things are already boned // Cry for a second, then continue with life, I guess // melo char buf[1024]; edm::LogError("LStoreFileError") << "LStoreFile couldn't unlock a mutex. Not good." << strerror_r( retval, buf, 1024 ); } }
pthread_mutex_t* LStoreFile::MutexWrapper::m_lock |
Definition at line 47 of file LStoreFile.h.
Referenced by MutexWrapper().