17 #ifndef NDB_SAFE_MUTEX_HPP
18 #define NDB_SAFE_MUTEX_HPP
21 #include <ndb_global.h>
22 #include <my_pthread.h>
27 #include <ndb_types.h>
44 const char*
const m_name;
48 pthread_mutex_t m_mutex;
49 pthread_cond_t m_cond;
56 int err(
int errcode,
int errline);
57 friend class NdbOut& operator<<(NdbOut&,
const SafeMutex&);
64 m_simple(!(limit > 1 || debug))