We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63bea64 commit 18b3456Copy full SHA for 18b3456
1 file changed
deadlock_go1.18.go
@@ -7,7 +7,7 @@ import (
7
"sync"
8
)
9
10
-// A DeadlockMutex is a drop-in replacement for sync.Mutex, except it does not support TryLock().
+// A DeadlockMutex is a drop-in replacement for sync.Mutex.
11
type DeadlockMutex struct {
12
mu sync.Mutex
13
}
@@ -37,7 +37,7 @@ func (m *DeadlockMutex) Unlock() {
37
lo.postUnlock(m)
38
39
40
-// An DeadlockRWMutex is a drop-in replacement for sync.RWMutex, except it does not support TryLock().
+// An DeadlockRWMutex is a drop-in replacement for sync.RWMutex.
41
type DeadlockRWMutex struct {
42
mu sync.RWMutex
43
0 commit comments