aboutsummaryrefslogtreecommitdiff
path: root/src/sync.cpp
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2018-01-28 13:14:54 +0100
committerpracticalswift <practicalswift@users.noreply.github.com>2018-01-28 13:21:25 +0100
commit1340eda3b7b6ca2789d6ec65dad72ee4c3844661 (patch)
tree8e1ef2755ead1bd1de86ccc28387767326d381e0 /src/sync.cpp
parent9cf6393a4f82b9c81d3b4b468a17a89db10531a2 (diff)
downloadbitcoin-1340eda3b7b6ca2789d6ec65dad72ee4c3844661.tar.xz
Fix typos
Diffstat (limited to 'src/sync.cpp')
-rw-r--r--src/sync.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sync.cpp b/src/sync.cpp
index ae6e721466..bf3d131e4e 100644
--- a/src/sync.cpp
+++ b/src/sync.cpp
@@ -25,8 +25,8 @@ void PrintLockContention(const char* pszName, const char* pszFile, int nLine)
//
// Early deadlock detection.
// Problem being solved:
-// Thread 1 locks A, then B, then C
-// Thread 2 locks D, then C, then A
+// Thread 1 locks A, then B, then C
+// Thread 2 locks D, then C, then A
// --> may result in deadlock between the two threads, depending on when they run.
// Solution implemented here:
// Keep track of pairs of locks: (A before B), (A before C), etc.