mirror of
https://github.com/therootcompany/serviceman.git
synced 2025-04-20 22:30:49 +00:00
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20180921000356-2f5d2388922f to 0.38.0. - [Commits](https://github.com/golang/net/commits/v0.38.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-version: 0.38.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
31 lines
591 B
Go
31 lines
591 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
|
|
|
|
package windows
|
|
|
|
import (
|
|
"runtime"
|
|
"unsafe"
|
|
)
|
|
|
|
const raceenabled = true
|
|
|
|
func raceAcquire(addr unsafe.Pointer) {
|
|
runtime.RaceAcquire(addr)
|
|
}
|
|
|
|
func raceReleaseMerge(addr unsafe.Pointer) {
|
|
runtime.RaceReleaseMerge(addr)
|
|
}
|
|
|
|
func raceReadRange(addr unsafe.Pointer, len int) {
|
|
runtime.RaceReadRange(addr, len)
|
|
}
|
|
|
|
func raceWriteRange(addr unsafe.Pointer, len int) {
|
|
runtime.RaceWriteRange(addr, len)
|
|
}
|