diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-01-27 23:44:29 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-01-27 23:44:29 +0000 |
commit | d779dffc4b6ec69cb51b426f779eca4bc37fd063 (patch) | |
tree | c305b88e41d468affc247b4f066bc9340fb2209e /libgo/go/sync | |
parent | ace36c8bcc112f1ecf889f413e22df5a41ed3e87 (diff) | |
download | gcc-d779dffc4b6ec69cb51b426f779eca4bc37fd063.zip gcc-d779dffc4b6ec69cb51b426f779eca4bc37fd063.tar.gz gcc-d779dffc4b6ec69cb51b426f779eca4bc37fd063.tar.bz2 |
libgo: update to Go1.10rc1
Reviewed-on: https://go-review.googlesource.com/90295
From-SVN: r257126
Diffstat (limited to 'libgo/go/sync')
-rw-r--r-- | libgo/go/sync/rwmutex.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libgo/go/sync/rwmutex.go b/libgo/go/sync/rwmutex.go index cb2dfe1..4e9e819 100644 --- a/libgo/go/sync/rwmutex.go +++ b/libgo/go/sync/rwmutex.go @@ -13,11 +13,11 @@ import ( // There is a modified copy of this file in runtime/rwmutex.go. // If you make any changes here, see if you should make them there. -// An RWMutex is a reader/writer mutual exclusion lock. +// A RWMutex is a reader/writer mutual exclusion lock. // The lock can be held by an arbitrary number of readers or a single writer. // The zero value for a RWMutex is an unlocked mutex. // -// An RWMutex must not be copied after first use. +// A RWMutex must not be copied after first use. // // If a goroutine holds a RWMutex for reading and another goroutine might // call Lock, no goroutine should expect to be able to acquire a read lock @@ -108,7 +108,7 @@ func (rw *RWMutex) Lock() { // not locked for writing on entry to Unlock. // // As with Mutexes, a locked RWMutex is not associated with a particular -// goroutine. One goroutine may RLock (Lock) an RWMutex and then +// goroutine. One goroutine may RLock (Lock) a RWMutex and then // arrange for another goroutine to RUnlock (Unlock) it. func (rw *RWMutex) Unlock() { if race.Enabled { |