Fix DEBUG_LOCKCONTENTION

This commit is contained in:
Matt Corallo 2012-05-09 01:40:33 -04:00
parent a2ea797593
commit 2ea78ec7fd

View File

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