Solving issue 1961: "Gui freezes when using 'apply-partial'" + fix an include in order to use the TRACE_MYRWMUTEX define

This commit is contained in:
Hombre
2013-08-30 21:36:23 +02:00
parent 63b9929539
commit b1c2480c3e
2 changed files with 9 additions and 4 deletions

View File

@@ -23,7 +23,7 @@
#include <glibmm.h>
#include <csignal> // for raise()
#include <cstdio>
#include <iostream>
#ifdef WIN32
#include <windows.h>
@@ -87,7 +87,7 @@ public:
#if STRICT_MUTEX || !defined(NDEBUG)
if (alreadyLocked) {
#ifndef NDEBUG
printf("Warning: MyMutex already locked!\n"); // breakpoint
std::cout << "Warning: MyMutex already locked!" << std::endl; // breakpoint
#endif
#if STRICT_MUTEX
#ifndef NDEBUG
@@ -115,7 +115,7 @@ public:
#if STRICT_MUTEX || !defined(NDEBUG)
if (alreadyLocked) {
#ifndef NDEBUG
printf("Warning: MyMutex already locked!\n"); // breakpoint
std::cout << "Warning: MyMutex already locked!" << std::endl; // breakpoint
#endif
#if STRICT_MUTEX
#ifndef NDEBUG