aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@golang.org>2015-12-09 17:51:23 +0000
committerBrad Fitzpatrick <bradfitz@golang.org>2015-12-09 18:11:42 +0000
commit371e44e5a1bf4201ade2ebb67e110176825eef9c (patch)
tree4d9230952f84466ae6b0dcbf1028ad329eb3a234 /src/runtime
parentefc806e92e9f7d591b31cdd0db4df4e626323d01 (diff)
downloadgo-371e44e5a1bf4201ade2ebb67e110176825eef9c.tar.xz
runtime/race: update two stale references
Fixes #13550 Change-Id: I407daad8b94f6773d7949ba27981d26cbfd2cdf4 Reviewed-on: https://go-review.googlesource.com/17682 Reviewed-by: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/race/race.go2
-rw-r--r--src/runtime/race/testdata/select_test.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/race/race.go b/src/runtime/race/race.go
index 31deedd73d..15e20112a8 100644
--- a/src/runtime/race/race.go
+++ b/src/runtime/race/race.go
@@ -9,7 +9,7 @@ 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.c.
+// Calls to the runtime are done directly from src/runtime/race.go.
// void __race_unused_func(void);
import "C"
diff --git a/src/runtime/race/testdata/select_test.go b/src/runtime/race/testdata/select_test.go
index b4b1991155..9969f47e8e 100644
--- a/src/runtime/race/testdata/select_test.go
+++ b/src/runtime/race/testdata/select_test.go
@@ -19,7 +19,7 @@ func TestNoRaceSelect1(t *testing.T) {
x = 1
// At least two channels are needed because
// otherwise the compiler optimizes select out.
- // See comment in runtime/chan.c:^selectgo.
+ // See comment in runtime/select.go:^func selectgoImpl.
select {
case c <- true:
case c1 <- true: