| 1 | // Copyright 2020 The gVisor Authors. |
| 2 | // |
| 3 | // Use of this source code is governed by a BSD-style |
| 4 | // license that can be found in the LICENSE file. |
| 5 | |
| 6 | //go:build !checklocks |
| 7 | // +build !checklocks |
| 8 | |
| 9 | package sync |
| 10 | |
| 11 | import ( |
| 12 | "unsafe" |
| 13 | ) |
| 14 | |
| 15 | func noteLock(l unsafe.Pointer) { |
| 16 | } |
| 17 | |
| 18 | func noteUnlock(l unsafe.Pointer) { |
| 19 | } |