]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.18] runtime: don't block preemption signal in new M's or ensureSigM
authorIan Lance Taylor <iant@golang.org>
Fri, 15 Apr 2022 20:46:00 +0000 (13:46 -0700)
committerIan Lance Taylor <iant@golang.org>
Fri, 6 May 2022 23:12:25 +0000 (23:12 +0000)
commit3e79a84853091717c0274281270992f55d2fad04
tree2b021e4c05f3e30987b6925de4c1f9ed9a3ef2ca
parenta286c7dd79ee888410f31b1688d4159ba4e674b6
[release-branch.go1.18] runtime: don't block preemption signal in new M's or ensureSigM

No test because we already have a test in the syscall package.
The issue reports 1 failure per 100,000 iterations, which is rare enough
that our builders won't catch the problem.

For #52226
Fixes #52375

Change-Id: I17633ff6cf676b6d575356186dce42cdacad0746
Reviewed-on: https://go-review.googlesource.com/c/go/+/400315
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
(cherry picked from commit e3982660a73b04a87c08215cb5aaa16d816ea573)
Reviewed-on: https://go-review.googlesource.com/c/go/+/400318
Reviewed-by: Austin Clements <austin@google.com>
src/runtime/signal_unix.go