Index: ext/libicpf/src/mutex.h =================================================================== diff -u -N -r12de61bfcf4d1ffef0339bee2e4c4a152209fd30 -r96aff5934401b9dd5654e6b67806e68680f315f2 --- ext/libicpf/src/mutex.h (.../mutex.h) (revision 12de61bfcf4d1ffef0339bee2e4c4a152209fd30) +++ ext/libicpf/src/mutex.h (.../mutex.h) (revision 96aff5934401b9dd5654e6b67806e68680f315f2) @@ -31,10 +31,10 @@ #ifdef _DEBUG_MUTEX #define MLOCK(mutex) (mutex).lock(__FILE__, __LINE__, __FUNCTION__) - #define MUNLOCK(mutex) (mutex).lock(__FILE__, __LINE__, __FUNCTION__) + #define MUNLOCK(mutex) (mutex).unlock(__FILE__, __LINE__, __FUNCTION__) #else #define MLOCK(mutex) (mutex).lock() - #define MUNLOCK(mutex) (mutex).lock() + #define MUNLOCK(mutex) (mutex).unlock() #endif /** \brief Class provides the locking and unlocking capabilities for use with threads.