summaryrefslogtreecommitdiffhomepage
path: root/pkg/sync/mutex_unsafe.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sync/mutex_unsafe.go')
-rw-r--r--pkg/sync/mutex_unsafe.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/sync/mutex_unsafe.go b/pkg/sync/mutex_unsafe.go
index 4e49a9b89..411a80a8a 100644
--- a/pkg/sync/mutex_unsafe.go
+++ b/pkg/sync/mutex_unsafe.go
@@ -72,6 +72,7 @@ func (m *Mutex) Lock() {
// Preconditions:
// * m is locked.
// * m was locked by this goroutine.
+// +checklocksignore
func (m *Mutex) Unlock() {
noteUnlock(unsafe.Pointer(m))
m.m.Unlock()