mirror of
https://github.com/golang/go
synced 2024-11-08 08:46:17 -07:00
62e1302267
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> |
||
---|---|---|
.. | ||
asan1_fail.go | ||
asan2_fail.go | ||
asan3_fail.go | ||
asan4_fail.go | ||
asan5_fail.go | ||
asan_global1_fail.go | ||
asan_global2_fail.go | ||
asan_global3_fail.go | ||
asan_global4_fail.go | ||
asan_global5.go | ||
asan_unsafe_fail1.go | ||
asan_unsafe_fail2.go | ||
asan_unsafe_fail3.go | ||
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 | ||
tsan_shared.go | ||
tsan.go |