]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.14: mention sync.Mutex changes
authorAustin Clements <austin@google.com>
Thu, 2 Jan 2020 20:23:26 +0000 (15:23 -0500)
committerAustin Clements <austin@google.com>
Thu, 2 Jan 2020 22:26:56 +0000 (22:26 +0000)
Change-Id: Icd92d115e5d7f00b2100598baf2522ebebcdb223
Reviewed-on: https://go-review.googlesource.com/c/go/+/213125
Reviewed-by: Ian Lance Taylor <iant@golang.org>
doc/go1.14.html

index 9c45c771295211f5d4d33a51a08c24530adfa73c..6811868bc20bccb1a33423d8aa4b3143caa4c537 100644 (file)
@@ -457,6 +457,18 @@ TODO
 
 </dl><!-- signal -->
 
+<dl id="sync"><dt><a href="/pkg/sync/">sync</a></dt>
+  <dd>
+    <p><!-- CL 200577 -->
+      Unlocking a highly contended <code>Mutex</code> now directly
+      yields the CPU to the next goroutine waiting for
+      that <code>Mutex</code>. This significantly improves the
+      performance of highly contended mutexes on high CPU count
+      machines.
+    </p>
+
+</dl><!-- sync -->
+
 <dl id="testing"><dt><a href="/pkg/testing/">testing</a></dt>
   <dd>
     <p><!-- CL 201359 -->