Fix typos

This commit is contained in:
practicalswift
2018-01-28 13:14:54 +01:00
parent 9cf6393a4f
commit 1340eda3b7
9 changed files with 11 additions and 11 deletions

View File

@@ -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.