summaryrefslogtreecommitdiff
path: root/src/pkg/net/race0.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/net/race0.go')
-rw-r--r--src/pkg/net/race0.go26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/pkg/net/race0.go b/src/pkg/net/race0.go
new file mode 100644
index 000000000..f50429779
--- /dev/null
+++ b/src/pkg/net/race0.go
@@ -0,0 +1,26 @@
+// Copyright 2013 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
+// +build windows
+
+package net
+
+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) {
+}