Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/goPublic

Commit6c76311

Browse files
committed
[release-branch.go1.1] runtime/race: improve public documentation
««« CL 9144050 / d29da2ced72bruntime/race: improve public documentationMove the documentation from race.go to doc.go, becauserace.go uses +build race, so it's not normally parsed by go doc.Rephrase the documentation for end users, provide link to racedetector manual.Fixes#5444.R=golang-dev, minux.ma, adg, rCC=golang-devhttps://golang.org/cl/9144050»»»R=golang-dev, bradfitzCC=golang-devhttps://golang.org/cl/9387043
1 parent9294a08 commit6c76311

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

‎src/pkg/runtime/race/doc.go‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// Copyright 2013 The Go Authors. All rights reserved.
2+
// Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
4+
5+
// Package race implements data race detection logic.
6+
// No public interface is provided.
7+
// For details about the race detector see
8+
// http://golang.org/doc/articles/race_detector.html
9+
package race

‎src/pkg/runtime/race/race.go‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
// +build race,linux,amd64 race,darwin,amd64 race,windows,amd64
66

7-
// Package race provides low-level facilities for data race detection.
87
package race
98

109
/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp