Add DEBUG_LOCKCONTENTION, to warn each time a thread waits to lock.
authorMatt Corallo <matt@bluematt.me>
Sat, 7 Jan 2012 17:12:39 +0000 (12:12 -0500)
committerMatt Corallo <matt@bluematt.me>
Sat, 21 Jan 2012 21:16:28 +0000 (16:16 -0500)
commit198fb229a4196aebe264a9fb10558db394e386c5
tree75a3d9a1bdb906fd012689860ec1fd1b74df7a30
parent1240a1b0a82e0e944a6fdcf6ff26001e1bd68904
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.
src/util.cpp