bitcoin/bitcoin — pull request #775 by TheBlueMatt (2012-01-21 21:17:29+00:00)
Title: Add DEBUG_LOCKCONTENTION, to warn each time a thread waits to lock.

Wrote this while I was testing CBlockStore, thought I might as well pull request it so that others can use it to test whatever.