]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.16: improve channel race detector changes description
authorAustin Clements <austin@google.com>
Mon, 7 Dec 2020 02:20:15 +0000 (21:20 -0500)
committerAustin Clements <austin@google.com>
Tue, 8 Dec 2020 15:58:23 +0000 (15:58 +0000)
Based on text from Daniel Fava.

For #40700.

Change-Id: I0bc3a4340b8a777ff96d3cf226a7d51d3f65db2c
Reviewed-on: https://go-review.googlesource.com/c/go/+/275786
Trust: Austin Clements <austin@google.com>
Reviewed-by: Daniel Fava <danielsfava@gmail.com>
Reviewed-by: Dmitry Vyukov <dvyukov@google.com>
doc/go1.16.html

index da8f560f85bc66ef2550f17a8a875ab5beac12f9..012be1656f2fe0d6b29906a597f7800900287d0b 100644 (file)
@@ -331,9 +331,11 @@ Do not send CLs removing the interior tags from such phrases.
 </p>
 
 <p><!-- CL 220419, CL 271987 -->
-  The race detector's model for channel operations now more precisely
-  follows the <a href="/ref/mem">Go memory model</a>. As a result, it
-  may report now races that it previously missed.
+  Go 1.16 fixes a discrepancy between the race detector and
+  the <a href="/ref/mem">Go memory model</a>. The race detector now
+  more precisely follows the channel synchronization rules of the
+  memory model. As a result, the detector may now report races it
+  previously missed.
 </p>
 
 <h2 id="compiler">Compiler</h2>