summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Vyukov <dvyukov@google.com>2013-08-16 22:42:54 +0400
committerDmitriy Vyukov <dvyukov@google.com>2013-08-16 22:42:54 +0400
commit2391561f4508add68ff0c918f4dc5f67ca7ebb62 (patch)
treec5a1ef109e5229948af41fdd7d0a4efabbff83f0
parent0b732cf1e95fbf38f7159c875da623bae2092eae (diff)
downloadgo-2391561f4508add68ff0c918f4dc5f67ca7ebb62.tar.gz
doc: describe halt_on_error race detector parameter
R=golang-dev, bradfitz CC=golang-dev https://codereview.appspot.com/13067043
-rw-r--r--doc/articles/race_detector.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/articles/race_detector.html b/doc/articles/race_detector.html
index 2d36f616e..282db8ba4 100644
--- a/doc/articles/race_detector.html
+++ b/doc/articles/race_detector.html
@@ -128,6 +128,11 @@ access history is <code>32K * 2**history_size elements</code>.
Increasing this value can avoid a "failed to restore the stack" error in reports, at the
cost of increased memory usage.
</li>
+
+<li>
+<code>halt_on_error</code> (default <code>0</code>): Controls whether the program
+exits after reporting first data race.
+</li>
</ul>
<p>