]> Cypherpunks repositories - gostls13.git/commit
runtime: convert rwmutex.{readerCount,readerWait} to atomic type
authorcuiweixie <cuiweixie@gmail.com>
Fri, 26 Aug 2022 03:00:06 +0000 (11:00 +0800)
committerMichael Knyszek <mknyszek@google.com>
Wed, 31 Aug 2022 19:54:04 +0000 (19:54 +0000)
commit3f65ddbfd36af7aa0b1e28aebe9eb054462f7d8a
tree98639ceeba70797ad6cd87e12ffa17fc70694743
parentc7085329367e14f0aa828a3793cf66d9f82f05c2
runtime: convert rwmutex.{readerCount,readerWait} to atomic type

For #53821

Change-Id: Ib10a745799e8bc0dc1d02a9c3e5d00b2842a9edd
Reviewed-on: https://go-review.googlesource.com/c/go/+/425779
Run-TryBot: Michael Pratt <mpratt@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/runtime/rwmutex.go