aboutsummaryrefslogtreecommitdiff
path: root/src/sync.cpp
diff options
context:
space:
mode:
authorpracticalswift <[email protected]>2018-01-28 13:14:54 +0100
committerpracticalswift <[email protected]>2018-01-28 13:21:25 +0100
commit1340eda3b7b6ca2789d6ec65dad72ee4c3844661 (patch)
tree8e1ef2755ead1bd1de86ccc28387767326d381e0 /src/sync.cpp
parentMerge #12270: Update chainTxData for 0.16 (diff)
downloaddiscoin-1340eda3b7b6ca2789d6ec65dad72ee4c3844661.tar.xz
discoin-1340eda3b7b6ca2789d6ec65dad72ee4c3844661.zip
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 ae6e72146..bf3d131e4 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.