commit | 12206f64dd3db59b3e61779c3d1bd14373012d1f | [log] [tgz] |
---|---|---|
author | Péter Szabó <pts@google.com> | Mon Nov 30 12:10:56 2009 -0800 |
committer | Russ Cox <rsc@golang.org> | Mon Nov 30 12:10:56 2009 -0800 |
tree | 8f3d784cf06de2970939d3b0802b5d6a7603c323 | |
parent | 229807c8c3698c225a3fbcf594a40054e01c7758 [diff] |
sync.RWMutex: rewritten to add support for concurrent readers. Also made sync.xadd public to help testing sync.RWMutex. Also added unit tests for sync.RWMutex. R=rsc https://golang.org/cl/162044