1
// Copyright 2012 The Go Authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style
3
// license that can be found in the LICENSE file.
7
// Public race detection API, present iff build with -race.
15
// RaceDisable disables handling of race events in the current goroutine.
18
// RaceEnable re-enables handling of race events in the current goroutine.
21
func RaceAcquire(addr unsafe.Pointer)
22
func RaceRelease(addr unsafe.Pointer)
23
func RaceReleaseMerge(addr unsafe.Pointer)
25
func RaceRead(addr unsafe.Pointer)
26
func RaceWrite(addr unsafe.Pointer)
28
func RaceSemacquire(s *uint32)
29
func RaceSemrelease(s *uint32)