2014-06-17 00:03:03 -06:00
|
|
|
// Copyright 2014 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.
|
|
|
|
|
|
|
|
// +build !race
|
|
|
|
|
|
|
|
// Dummy race detection API, used when not built with -race.
|
|
|
|
|
|
|
|
package runtime
|
|
|
|
|
2014-07-16 15:16:19 -06:00
|
|
|
import (
|
|
|
|
"unsafe"
|
|
|
|
)
|
|
|
|
|
2014-06-17 00:03:03 -06:00
|
|
|
const raceenabled = false
|
2014-07-16 15:16:19 -06:00
|
|
|
|
|
|
|
func raceReadObjectPC(t *_type, addr unsafe.Pointer, callerpc, pc uintptr) {
|
|
|
|
}
|
2014-09-02 15:13:29 -06:00
|
|
|
func raceWriteObjectPC(t *_type, addr unsafe.Pointer, callerpc, pc uintptr) {
|
|
|
|
}
|