]> Cypherpunks.ru repositories - gostls13.git/commit
misc/cgo/testsanitizers: buffer the signal channel in TestTSAN/tsan11
authorBryan C. Mills <bcmills@google.com>
Fri, 27 May 2022 15:42:59 +0000 (11:42 -0400)
committerGopher Robot <gobot@golang.org>
Fri, 27 May 2022 15:58:52 +0000 (15:58 +0000)
commit0f57c88bce9899a91686646a1e9cd7aae55911ef
tree20b4d2105d8a13488c32f70277828934d50a4b1f
parent42f1b37b7b46714455a3a54e506bff982aa50fa2
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 #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>
misc/cgo/testsanitizers/testdata/tsan11.go