Merge pull request #1232 from TheBlueMatt/lockcontention

Fix DEBUG_LOCKCONTENTION
This commit is contained in:
Gregory Maxwell 2012-05-09 03:55:02 -07:00
commit 92dca80975

View file

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