github.com/SagerNet/gvisor@v0.0.0-20210707092255-7731c139d75c/pkg/sync/checklocks_off_unsafe.go (about)

     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  // +build !checklocks
     7  
     8  package sync
     9  
    10  import (
    11  	"unsafe"
    12  )
    13  
    14  func noteLock(l unsafe.Pointer) {
    15  }
    16  
    17  func noteUnlock(l unsafe.Pointer) {
    18  }