From: Jeremy Faller Date: Thu, 2 Dec 2021 18:33:18 +0000 (-0500) Subject: doc/go1.18: add new sync.[RW]Mutex methods X-Git-Tag: go1.18beta1~79 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=d16a57542a83adfb8182508291ddcfe99c406818;p=gostls13.git 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 Run-TryBot: Jeremy Faller Reviewed-by: Ian Lance Taylor --- 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.
sync

- TODO: https://golang.org/cl/319769: add Mutex.TryLock, RWMutex.TryLock, RWMutex.TryRLock + The new methods + Mutex.TryLock, + RWMutex.TryLock, and + RWMutex.TryRLock, + will acquire the lock if it is not currently held.