Fix DEBUG_LOCKCONTENTION

This commit is contained in:
Matt Corallo 2012-05-09 01:40:33 -04:00 committed by Luke Dashjr
parent 9e52f51223
commit 7700b94d33

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
}
}