Wladimir J. van der Laan
19a5676280
Use mutex pointer instead of name for AssertLockHeld
...
This makes it useable for non-global locks such as the wallet and
keystore locks.
11 years ago
Gavin Andresen
c649637b6c
mutex debugging routines: LocksHeld() and AssertLockHeld()
11 years ago
Brandon Dahler
51ed9ec971
Cleanup code using forward declarations.
...
Use misc methods of avoiding unnecesary header includes.
Replace int typedefs with int##_t from stdint.h.
Replace PRI64[xdu] with PRI[xdu]64 from inttypes.h.
Normalize QT_VERSION ifs where possible.
Resolve some indirect dependencies as direct ones.
Remove extern declarations from .cpp files.
11 years ago
Gavin Andresen
3b9ecfed82
Make -DDEBUGLOCKORDER + -debug less noisy
...
Print out every mutex lock/unlock if compiled -DDEBUGLOCKORDER
only if -debug=lock is set.
11 years ago
Gavin Andresen
881a85a22d
Replace printf with LogPrintf / LogPrint
11 years ago
Jeff Garzik
ea0796bde3
Trim trailing whitespace for src/*.{h,cpp}
12 years ago
fanquake
e749405297
Fix a few typos
13 years ago
Matt Corallo
4d009243cb
Fix DEBUG_LOCKCONTENTION
13 years ago
Pieter Wuille
660ff174f2
Use boost::thread locking instead of interprocess
13 years ago
Fordy
3a25a2b9b0
Update License in File Headers
...
I originally created a pull to replace the "COPYING" in crypter.cpp and
crypter.h, but it turned out that COPYING was actually the correct
file.
13 years ago
Pieter Wuille
7f3ccb59da
Split synchronization mechanisms from util.{h,cpp}
13 years ago