Commit 417e22b5 authored by Robert Griesemer's avatar Robert Griesemer

sync: fix typo in documentation

R=rsc, adg
CC=golang-dev
https://golang.org/cl/2841041
parent 95b40f6c
......@@ -21,7 +21,7 @@ type RWMutex struct {
// RLock locks rw for reading.
// If the lock is already locked for writing or there is a writer already waiting
// to r the lock, RLock blocks until the writer has released the lock.
// to release the lock, RLock blocks until the writer has released the lock.
func (rw *RWMutex) RLock() {
// Use rw.r.Lock() to block granting the RLock if a goroutine
// is waiting for its Lock. This is the prevent starvation of W in
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment