summaryrefslogtreecommitdiffhomepage
path: root/pkg/sync/checklocks_off_unsafe.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sync/checklocks_off_unsafe.go')
-rw-r--r--pkg/sync/checklocks_off_unsafe.go18
1 files changed, 18 insertions, 0 deletions
diff --git a/pkg/sync/checklocks_off_unsafe.go b/pkg/sync/checklocks_off_unsafe.go
new file mode 100644
index 000000000..62c81b149
--- /dev/null
+++ b/pkg/sync/checklocks_off_unsafe.go
@@ -0,0 +1,18 @@
+// Copyright 2020 The gVisor Authors.
+//
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+// +build !checklocks
+
+package sync
+
+import (
+ "unsafe"
+)
+
+func noteLock(l unsafe.Pointer) {
+}
+
+func noteUnlock(l unsafe.Pointer) {
+}