aboutsummaryrefslogtreecommitdiff
path: root/src/debug
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2022-09-15 11:33:58 -0700
committerGopher Robot <gobot@golang.org>2022-09-17 01:41:08 +0000
commit7c87012f041948af55d323fc5447230c930e79aa (patch)
treeca7338bb06edf5e9f029c2e134238d187be1befd /src/debug
parenta9ca741d311772efb828c4b4f45e737783a89ca3 (diff)
downloadgo-7c87012f041948af55d323fc5447230c930e79aa.tar.xz
runtime: treat SI_TKILL like SI_USER on Linux
On Linux a signal sent using tgkill will have si_code == SI_TKILL, not SI_USER. Treat the two cases the same. Add a Linux-specific test. Change the test to use the C pause function rather than sleeping for a second, as that achieves the same effect. Change-Id: I2a36646aecabcab9ec42ed9a048b07c2ff0a3987 Reviewed-on: https://go-review.googlesource.com/c/go/+/431255 TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Ian Lance Taylor <iant@google.com> Reviewed-by: Michael Pratt <mpratt@google.com> Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/debug')
0 files changed, 0 insertions, 0 deletions