]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.17] misc/cgo/testsanitizers: buffer the signal channel in TestTSA...
authorBryan C. Mills <bcmills@google.com>
Fri, 27 May 2022 15:42:59 +0000 (11:42 -0400)
committerDmitri Shuralyov <dmitshur@golang.org>
Mon, 30 May 2022 20:29:38 +0000 (20:29 +0000)
commit909881db03b7aca794c791e4c6e893c9a4638521
treefc56cd0822b9b3a9dbf88438c62fae607599557d
parent03c2e56f686e9bf648d606bc06fe6bbb263a3661
[release-branch.go1.17] misc/cgo/testsanitizers: buffer the signal channel in TestTSAN/tsan11

This fix is analogous to the one in CL 407888.

'go vet' catches the error, but it is not run on this file because the
file is (only) compiled when running testsanitizers/TestTSAN.

Fixes #53114.
Updates #53113.

Change-Id: I74f7b7390a9775ff00a06214c1019ba28846dd11
Reviewed-on: https://go-review.googlesource.com/c/go/+/409094
Auto-Submit: Bryan Mills <bcmills@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Bryan Mills <bcmills@google.com>
(cherry picked from commit 0f57c88bce9899a91686646a1e9cd7aae55911ef)
Reviewed-on: https://go-review.googlesource.com/c/go/+/408824
Reviewed-by: Ian Lance Taylor <iant@google.com>
misc/cgo/testsanitizers/testdata/tsan11.go