File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ package race
9
9
// This file merely ensures that we link in runtime/cgo in race build,
10
10
// this is turn ensures that runtime uses pthread_create to create threads.
11
11
// 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 .
13
13
14
14
// void __race_unused_func(void);
15
15
import "C"
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ func TestNoRaceSelect1(t *testing.T) {
19
19
x = 1
20
20
// At least two channels are needed because
21
21
// otherwise the compiler optimizes select out.
22
- // See comment in runtime/chan.c:^selectgo .
22
+ // See comment in runtime/select.go:^func selectgoImpl .
23
23
select {
24
24
case c <- true :
25
25
case c1 <- true :
You can’t perform that action at this time.
0 commit comments