From dd2c101336ba4fdc58d27a07bfa1dcebfac8c6fe Mon Sep 17 00:00:00 2001 From: Gavin Andresen Date: Wed, 5 Sep 2012 12:09:37 -0400 Subject: [PATCH] Minor documentation update --- doc/coding.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/coding.txt b/doc/coding.txt index cc41850a5c7..b33ddd979ac 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: