Index: ext/libicpf/src/dmutex.h =================================================================== diff -u -N -r12de61bfcf4d1ffef0339bee2e4c4a152209fd30 -rd4269744a04d36c8a8146a84bc27118031fa42ac --- ext/libicpf/src/dmutex.h (.../dmutex.h) (revision 12de61bfcf4d1ffef0339bee2e4c4a152209fd30) +++ ext/libicpf/src/dmutex.h (.../dmutex.h) (revision d4269744a04d36c8a8146a84bc27118031fa42ac) @@ -45,9 +45,9 @@ public: /** \name Construction/destruction */ /**@{*/ - d_mutex(dumpctx* pctx); ///< Constructs an unnamed mutex - d_mutex(const char_t* pszStr, dumpctx* pctx); ///< Constructs a named mutex - virtual ~d_mutex(); ///< Standard destructor + d_mutex(); ///< Constructs an unnamed mutex + d_mutex(const char_t* pszStr); ///< Constructs a named mutex + virtual ~d_mutex(); ///< Standard destructor /**@}*/ // standard locking @@ -57,10 +57,12 @@ void unlock(const char_t* pszFile, ulong_t ulLine, const char_t* pszFunction); ///< Unlocking with logging /**@}*/ +public: + static dumpctx* m_pContext; ///< Dump context that will receive informations about locking/unlocking + private: - char* m_pszName; ///< Name of the mutex - dumpctx* m_pContext; ///< Dump context that will receive informations about locking/unlocking - ulong_t m_ulLockCount; ///< Current lock count + char* m_pszName; ///< Name of the mutex + ulong_t m_ulLockCount; ///< Current lock count }; END_ICPF_NAMESPACE