Wrote this while I was testing CBlockStore, thought I might as well pull request it so that others can use it to test whatever.
Add DEBUG_LOCKCONTENTION, to warn each time a thread waits to lock. #775
pull TheBlueMatt wants to merge 1 commits into bitcoin:master from TheBlueMatt:lockcontention changing 1 files +22 −1-
TheBlueMatt commented at 9:17 PM on January 21, 2012: member
-
198fb229a4
Add DEBUG_LOCKCONTENTION, to warn each time a thread waits to lock.
If compiled with -DDEBUG_LOCKCONTENTION, Bitcoin will print to debug.log each time a thread has to wait for a lock to continue.
-
gavinandresen commented at 3:07 PM on January 23, 2012: contributor
ACK
- gavinandresen merged this on Jan 23, 2012
- gavinandresen closed this on Jan 23, 2012
- destenson referenced this in commit 25c4341311 on Jun 26, 2016
- ptschip referenced this in commit 37588ec5a1 on Oct 11, 2017
- DrahtBot locked this on Sep 8, 2021