]> Cypherpunks repositories - gostls13.git/commit
sync: enable Pool when using race detector
authorRuss Cox <rsc@golang.org>
Fri, 21 Oct 2016 00:26:31 +0000 (20:26 -0400)
committerRuss Cox <rsc@golang.org>
Sun, 30 Oct 2016 19:09:20 +0000 (19:09 +0000)
commitba048f7ce4a14e956635efc80fc1447c3b8851dd
tree9a021ed5ca79bcd64b4a1d691a62d6b512358014
parent154860ff17dacbf309ed247277d245ec887af6d4
sync: enable Pool when using race detector

Disabled by https://golang.org/cl/53020044 due to false positives.
Reenable and model properly.

Fixes #17306.

Change-Id: I28405ddfcd17f58cf1427c300273212729154359
Reviewed-on: https://go-review.googlesource.com/31589
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dmitry Vyukov <dvyukov@google.com>
src/runtime/race/testdata/pool_test.go [new file with mode: 0644]
src/runtime/stubs.go
src/sync/pool.go