mirror of
https://github.com/golang/sys.git
synced 2026-02-08 11:46:04 +03:00
Change-Id: I71b9023fcb6c9860ea35ba0d2cf77a6eed5176b9 Reviewed-on: https://go-review.googlesource.com/c/sys/+/357329 Reviewed-by: Jason A. Donenfeld <Jason@zx2c4.com> Reviewed-by: David Crawshaw <crawshaw@golang.org> Trust: Jason A. Donenfeld <Jason@zx2c4.com> Trust: David Crawshaw <crawshaw@golang.org> Run-TryBot: Jason A. Donenfeld <Jason@zx2c4.com> TryBot-Result: Go Bot <gobot@golang.org>
27 lines
478 B
Go
27 lines
478 B
Go
// 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.
|
|
|
|
//go:build windows && !race
|
|
// +build windows,!race
|
|
|
|
package windows
|
|
|
|
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) {
|
|
}
|