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

27 lines
472 B
Go
Raw Normal View History

2021-03-11 16:29:15 +00: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.
2021-12-28 17:56:13 +00:00
//go:build plan9 && !race
2021-03-11 16:29:15 +00: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) {
}