mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-11 23:38:06 +00:00
Merge pull request #1232 from TheBlueMatt/lockcontention
Fix DEBUG_LOCKCONTENTION
This commit is contained in:
commit
92dca80975
@ -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…
Reference in New Issue
Block a user