aboutsummaryrefslogtreecommitdiff
path: root/doc/coding.txt
diff options
context:
space:
mode:
authorGavin Andresen <[email protected]>2012-09-05 12:09:37 -0400
committerGavin Andresen <[email protected]>2012-09-05 12:38:37 -0400
commitaeea5e2a2dc3ebe8a99a7926875107b8fb10e8a6 (patch)
tree0af49d637b6d9b22b3e3fd03a25477e423685b17 /doc/coding.txt
parentMerge branch 'testnet_alert' of git://github.com/gavinandresen/bitcoin-git (diff)
downloaddiscoin-aeea5e2a2dc3ebe8a99a7926875107b8fb10e8a6.tar.xz
discoin-aeea5e2a2dc3ebe8a99a7926875107b8fb10e8a6.zip
Minor documentation updates
Diffstat (limited to 'doc/coding.txt')
-rw-r--r--doc/coding.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/coding.txt b/doc/coding.txt
index b3c812a48..0813105e7 100644
--- a/doc/coding.txt
+++ b/doc/coding.txt
@@ -44,7 +44,7 @@ bn CBigNum
Locking/mutex usage notes
The code is multi-threaded, and uses mutexes and the
-CRITICAL_BLOCK/TRY_CRITICAL_BLOCK macros to protect data structures.
+LOCK/TRY_LOCK macros to protect data structures.
Deadlocks due to inconsistent lock ordering (thread 1 locks cs_main
and then cs_wallet, while thread 2 locks them in the opposite order: