Browse Source

Fix DEBUG_LOCKCONTENTION

miguelfreitas
Matt Corallo 13 years ago
parent
commit
2ea78ec7fd
  1. 4
      src/util.h

4
src/util.h

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

Loading…
Cancel
Save