diff options
Diffstat (limited to 'libgo/go/syscall/race0.go')
-rw-r--r-- | libgo/go/syscall/race0.go | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/libgo/go/syscall/race0.go b/libgo/go/syscall/race0.go new file mode 100644 index 0000000..e94fb47 --- /dev/null +++ b/libgo/go/syscall/race0.go @@ -0,0 +1,19 @@ +// 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. + +// +build !race + +package syscall + +import ( + "unsafe" +) + +const raceenabled = false + +func raceAcquire(addr unsafe.Pointer) { +} + +func raceReleaseMerge(addr unsafe.Pointer) { +} |