Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
485c0662
Commit
485c0662
authored
Apr 04, 2013
by
Andrew Gerrand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: mention availability of race detector in go1.1 doc
R=r CC=golang-dev
https://golang.org/cl/8301044
parent
edca83e2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
go1.1.html
doc/go1.1.html
+2
-0
No files found.
doc/go1.1.html
View file @
485c0662
...
...
@@ -291,6 +291,8 @@ The byte-order-mark change is strictly backward-compatible.
A major addition to the tools is a
<em>
race detector
</em>
, a way to find
bugs in programs caused by problems like concurrent changes to the same variable.
This new facility is built into the
<code>
go
</code>
tool.
For now, it is only available on Linux, Mac OS X, and Windows systems with
64-bit x86 processors.
To enable it, set the
<code>
-race
</code>
flag when building or testing your program
(for instance,
<code>
go test -race
</code>
).
The race detector is documented in
<a
href=
"/doc/articles/race_detector.html"
>
a separate article
</a>
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment