]> Cypherpunks repositories - gostls13.git/commitdiff
doc: describe halt_on_error race detector parameter
authorDmitriy Vyukov <dvyukov@google.com>
Fri, 16 Aug 2013 18:42:54 +0000 (22:42 +0400)
committerDmitriy Vyukov <dvyukov@google.com>
Fri, 16 Aug 2013 18:42:54 +0000 (22:42 +0400)
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/13067043

doc/articles/race_detector.html

index 2d36f616e1a16bc6c3d6b016effb1552bb291eaa..282db8ba40801322235c8e2d000562966ec5969c 100644 (file)
@@ -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>