1 #ifndef CARMA_UTIL_SCOPED_LOCK_MANAGER_H
2 #define CARMA_UTIL_SCOPED_LOCK_MANAGER_H
6 #include "carma/util/posixErrors.h"
71 template<
typename M >
100 template<
typename M >
109 template<
typename M >
114 logIfPosixError( unlockMutexNoThrow( m_ ) );
122 template<
typename M >
134 template<
typename M >
140 const bool result = tryLockMutex( m_ );
149 template<
typename M >
Header file for the CARMA checked build diagnostic macros.
#define CARMA_CHECK(assertion)
Diagnostic macro for checking an assertion in checked builds.