aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/internal/race/doc.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/internal/race/doc.go')
-rw-r--r--libgo/go/internal/race/doc.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/libgo/go/internal/race/doc.go b/libgo/go/internal/race/doc.go
new file mode 100644
index 00000000000..d6a2243eb8f
--- /dev/null
+++ b/libgo/go/internal/race/doc.go
@@ -0,0 +1,11 @@
+// Copyright 2015 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.
+
+/*
+Package race contains helper functions for manually instrumenting code for the race detector.
+
+The runtime package intentionally exports these functions only in the race build;
+this package exports them unconditionally but without the "race" build tag they are no-ops.
+*/
+package race