1
0
mirror of https://github.com/golang/go synced 2024-09-29 20:14:29 -06:00

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>
This commit is contained in:
Brad Fitzpatrick 2015-12-09 17:51:23 +00:00
parent efc806e92e
commit 371e44e5a1
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -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: