summaryrefslogtreecommitdiff
path: root/go/golang/gocache/af/af7286b58ce23459a58705da50af96373c5bd956310787f7bb2981011d9be3e1-d
diff options
context:
space:
mode:
Diffstat (limited to 'go/golang/gocache/af/af7286b58ce23459a58705da50af96373c5bd956310787f7bb2981011d9be3e1-d')
-rw-r--r--go/golang/gocache/af/af7286b58ce23459a58705da50af96373c5bd956310787f7bb2981011d9be3e1-d18
1 files changed, 18 insertions, 0 deletions
diff --git a/go/golang/gocache/af/af7286b58ce23459a58705da50af96373c5bd956310787f7bb2981011d9be3e1-d b/go/golang/gocache/af/af7286b58ce23459a58705da50af96373c5bd956310787f7bb2981011d9be3e1-d
new file mode 100644
index 00000000..52b2ab6e
--- /dev/null
+++ b/go/golang/gocache/af/af7286b58ce23459a58705da50af96373c5bd956310787f7bb2981011d9be3e1-d
@@ -0,0 +1,18 @@
+// Code generated by cmd/cgo; DO NOT EDIT.
+
+//line /workdir/go/src/runtime/race/race.go:1:1
+// 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,linux,amd64 race,freebsd,amd64 race,netbsd,amd64 race,darwin,amd64 race,windows,amd64 race,linux,ppc64le
+
+package race
+
+// This file merely ensures that we link in runtime/cgo in race build,
+// this is turn ensures that runtime uses pthread_create to create threads.
+// The prebuilt race runtime lives in race_GOOS_GOARCH.syso.
+// Calls to the runtime are done directly from src/runtime/race.go.
+
+// void __race_unused_func(void);
+import _ "unsafe"