qrz/vendor/golang.org/x/sys/plan9/race0.go

27 lines
472 B
Go
Raw Normal View History

2020-11-18 23:19:03 +01:00
// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
2022-03-26 12:13:52 +01:00
//go:build plan9 && !race
2020-11-18 23:19:03 +01:00
// +build plan9,!race
package plan9
import (
"unsafe"
)
const raceenabled = false
func raceAcquire(addr unsafe.Pointer) {
}
func raceReleaseMerge(addr unsafe.Pointer) {
}
func raceReadRange(addr unsafe.Pointer, len int) {
}
func raceWriteRange(addr unsafe.Pointer, len int) {
}