diff options
author | Jeremy Faller <jeremy@golang.org> | 2021-12-02 13:33:18 -0500 |
---|---|---|
committer | Jeremy Faller <jeremy@golang.org> | 2021-12-06 21:14:21 +0000 |
commit | d16a57542a83adfb8182508291ddcfe99c406818 (patch) | |
tree | 944b68dc1a5b8ee428bc360e04779181d928ecae /doc | |
parent | 870f33f6efcbb5db7b556cbe3438aa7925270825 (diff) | |
download | go-d16a57542a83adfb8182508291ddcfe99c406818.tar.gz go-d16a57542a83adfb8182508291ddcfe99c406818.zip |
doc/go1.18: add new sync.[RW]Mutex methods
CL 319769
Updates #47694
Change-Id: I9655af0d249926617645c33617d53b73f985aa19
Reviewed-on: https://go-review.googlesource.com/c/go/+/368797
Trust: Jeremy Faller <jeremy@golang.org>
Run-TryBot: Jeremy Faller <jeremy@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/go1.18.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/go1.18.html b/doc/go1.18.html index 7a4869cf6a..77c26bc257 100644 --- a/doc/go1.18.html +++ b/doc/go1.18.html @@ -740,7 +740,11 @@ Do not send CLs removing the interior tags from such phrases. <dl id="sync"><dt><a href="/pkg/sync/">sync</a></dt> <dd> <p><!-- CL 319769 --> - TODO: <a href="https://golang.org/cl/319769">https://golang.org/cl/319769</a>: add Mutex.TryLock, RWMutex.TryLock, RWMutex.TryRLock + The new methods + <a href="/pkg/sync#Mutex.TryLock"><code>Mutex.TryLock</code></a>, + <a href="/pkg/sync#RWMutex.TryLock"><code>RWMutex.TryLock</code></a>, and + <a href="/pkg/sync#RWMutex.TryRLock"><code>RWMutex.TryRLock</code></a>, + will acquire the lock if it is not currently held. </p> </dd> </dl><!-- sync --> |