Skip to content

Commit 371e44e

Browse files
committed
runtime/race: update two stale references
Fixes #13550 Change-Id: I407daad8b94f6773d7949ba27981d26cbfd2cdf4 Reviewed-on: https://go-review.googlesource.com/17682 Reviewed-by: Russ Cox <[email protected]>
1 parent efc806e commit 371e44e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/runtime/race/race.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ package race
99
// This file merely ensures that we link in runtime/cgo in race build,
1010
// this is turn ensures that runtime uses pthread_create to create threads.
1111
// The prebuilt race runtime lives in race_GOOS_GOARCH.syso.
12-
// Calls to the runtime are done directly from src/runtime/race.c.
12+
// Calls to the runtime are done directly from src/runtime/race.go.
1313

1414
// void __race_unused_func(void);
1515
import "C"

src/runtime/race/testdata/select_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ func TestNoRaceSelect1(t *testing.T) {
1919
x = 1
2020
// At least two channels are needed because
2121
// otherwise the compiler optimizes select out.
22-
// See comment in runtime/chan.c:^selectgo.
22+
// See comment in runtime/select.go:^func selectgoImpl.
2323
select {
2424
case c <- true:
2525
case c1 <- true:

0 commit comments

Comments
 (0)