1
0
mirror of https://github.com/golang/go synced 2024-11-26 21:21:34 -07:00

doc/go1.14: mention sync.Mutex changes

Change-Id: Icd92d115e5d7f00b2100598baf2522ebebcdb223
Reviewed-on: https://go-review.googlesource.com/c/go/+/213125
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Austin Clements 2020-01-02 15:23:26 -05:00
parent ffbc02761a
commit 73b657e96e

View File

@ -457,6 +457,18 @@ TODO
</dl><!-- signal --> </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> <dl id="testing"><dt><a href="/pkg/testing/">testing</a></dt>
<dd> <dd>
<p><!-- CL 201359 --> <p><!-- CL 201359 -->