From aeea5e2a2dc3ebe8a99a7926875107b8fb10e8a6 Mon Sep 17 00:00:00 2001 From: Gavin Andresen Date: Wed, 5 Sep 2012 12:09:37 -0400 Subject: Minor documentation updates --- doc/coding.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/coding.txt') 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: -- cgit v1.2.3