aboutsummaryrefslogtreecommitdiff
path: root/src/sync.cpp
diff options
context:
space:
mode:
authorMarcoFalke <[email protected]>2018-02-02 05:35:42 -0500
committerMarcoFalke <[email protected]>2018-02-02 05:35:51 -0500
commit1b06ed136f17b526360617a70026aed5ded5746c (patch)
tree113cb8738aecfae49e6d885396abd171420b58d3 /src/sync.cpp
parentMerge #12329: net: don't retry failed oneshot connections forever (diff)
parentFix typos (diff)
downloaddiscoin-1b06ed136f17b526360617a70026aed5ded5746c.tar.xz
discoin-1b06ed136f17b526360617a70026aed5ded5746c.zip
Merge #12283: Fix typos
1340eda3b7 Fix typos (practicalswift) Pull request description: Fix typos. Tree-SHA512: 533a136831387ef26e9a74ba078437496bee38cc026da73fa9e6f6e7f4d5665eccac24cf3ef05e6d3af1329a1214f5ce71b039ddb8378b074e6d4408b8701f95
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.