]> Cypherpunks repositories - gostls13.git/commit
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, 15 Apr 2022 23:25:46 +0000 (23:25 +0000)
commite3982660a73b04a87c08215cb5aaa16d816ea573
treec79a5f425745a360cd925daf68376bc20558888c
parentdf08c9a82152fd6f2b2811db03b40fea8b6e5e9e
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.

Fixes #52226

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>
src/runtime/signal_unix.go