1
0
mirror of https://github.com/golang/go synced 2024-11-08 08:46:17 -07:00
go/misc/cgo/testsanitizers/testdata
Cherry Mui 62e1302267 misc/cgo/testsanitizers: use buffered channel in tsan12.go
os/signal.Notify requires that "the caller must ensure that c has
sufficient buffer space to keep up with the expected signal rate"
as it does a nonblocking send when it receives a signal. The test
currently using a unbuffered channel, which means it may miss the
signal if the signal arrives before the channel receive operation.

Fixes #52998.

Change-Id: Icdcab9396d735506480ef880fb45a4669fa7cc8f
Reviewed-on: https://go-review.googlesource.com/c/go/+/407888
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-05-24 14:30:46 +00:00
..
asan1_fail.go runtime: fix the issue that the -asan option cannot print where the error occurred 2021-12-29 04:10:07 +00:00
asan2_fail.go runtime: fix the issue that the -asan option cannot print where the error occurred 2021-12-29 04:10:07 +00:00
asan3_fail.go
asan4_fail.go
asan5_fail.go src/runtime: mark asanread and asanwrite functions as NOSPLIT 2022-01-05 09:50:29 +00:00
asan_global1_fail.go cmd/dist: add asan tests for global objects in testsanitizers package 2022-05-05 04:05:43 +00:00
asan_global2_fail.go cmd/dist: add asan tests for global objects in testsanitizers package 2022-05-05 04:05:43 +00:00
asan_global3_fail.go cmd/dist: add asan tests for global objects in testsanitizers package 2022-05-05 04:05:43 +00:00
asan_global4_fail.go cmd/dist: add asan tests for global objects in testsanitizers package 2022-05-05 04:05:43 +00:00
asan_global5.go cmd/dist: add asan tests for global objects in testsanitizers package 2022-05-05 04:05:43 +00:00
asan_unsafe_fail1.go cmd/compile: set conversions to unsafe.Pointer as an escaping operation when -asan is enabled 2022-03-17 08:43:51 +00:00
asan_unsafe_fail2.go cmd/compile: set conversions to unsafe.Pointer as an escaping operation when -asan is enabled 2022-03-17 08:43:51 +00:00
asan_unsafe_fail3.go cmd/compile: set conversions to unsafe.Pointer as an escaping operation when -asan is enabled 2022-03-17 08:43:51 +00:00
asan_useAfterReturn.go
msan2_cmsan.go
msan2.go
msan3.go
msan4.go
msan5.go
msan6.go
msan7.go
msan8.go
msan_fail.go
msan_shared.go
msan.go
tsan2.go
tsan3.go
tsan4.go
tsan5.go
tsan6.go
tsan7.go
tsan8.go
tsan9.go
tsan10.go
tsan11.go
tsan12.go misc/cgo/testsanitizers: use buffered channel in tsan12.go 2022-05-24 14:30:46 +00:00
tsan_shared.go
tsan.go