mirror of
https://github.com/golang/go
synced 2024-11-08 03:36:12 -07:00
b4f3d52f6a
RWMutex provides explicit acquire/release synchronization events to the race detector to model the mutex. It disables sync events within the methods to avoid e.g., the atomics from adding false synchronization events, which could cause false negatives in the race detector. Change-Id: I5126ce2efaab151811ac264864aab1fa025a4aaf Reviewed-on: https://go-review.googlesource.com/c/go/+/270865 Run-TryBot: Michael Pratt <mpratt@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Austin Clements <austin@google.com> Trust: Michael Pratt <mpratt@google.com> |
||
---|---|---|
.. | ||
atomic | ||
cond_test.go | ||
cond.go | ||
example_pool_test.go | ||
example_test.go | ||
export_test.go | ||
map_bench_test.go | ||
map_reference_test.go | ||
map_test.go | ||
map.go | ||
mutex_test.go | ||
mutex.go | ||
once_test.go | ||
once.go | ||
pool_test.go | ||
pool.go | ||
poolqueue.go | ||
runtime2_lockrank.go | ||
runtime2.go | ||
runtime_sema_test.go | ||
runtime.go | ||
rwmutex_test.go | ||
rwmutex.go | ||
waitgroup_test.go | ||
waitgroup.go |