Browse Source

Merge pull request #1232 from TheBlueMatt/lockcontention

Fix DEBUG_LOCKCONTENTION
miguelfreitas
Gregory Maxwell 13 years ago
parent
commit
92dca80975
  1. 4
      src/util.h

4
src/util.h

@ -217,9 +217,11 @@ public:
{ {
printf("LOCKCONTENTION: %s\n", pszName); printf("LOCKCONTENTION: %s\n", pszName);
printf("Locker: %s:%d\n", pszFile, nLine); printf("Locker: %s:%d\n", pszFile, nLine);
}
#endif #endif
lock.lock(); lock.lock();
#ifdef DEBUG_LOCKCONTENTION
}
#endif
} }
} }

Loading…
Cancel
Save