]> Cypherpunks repositories - gostls13.git/commit
runtime: avoid receiving preemotion signal while exec'ing
authorCherry Zhang <cherryyz@google.com>
Thu, 3 Dec 2020 21:53:30 +0000 (16:53 -0500)
committerCherry Zhang <cherryyz@google.com>
Fri, 4 Dec 2020 16:04:44 +0000 (16:04 +0000)
commit21cfadf0dc1e93c339e319c502f14ee42973c44d
tree4d62cba07bb8a9564f9a008af986cecd6cd53ca2
parent73580645087b84c3470943155e5e94eacf83bb86
runtime: avoid receiving preemotion signal while exec'ing

The iOS kernel has the same problem as the macOS kernel. Extend
the workaround of #41702 (CL 262438 and CL 262817) to iOS.

Updates #35851.

Change-Id: I7ccec00dc96643c08c5be8b385394856d0fa0f64
Reviewed-on: https://go-review.googlesource.com/c/go/+/275293
Trust: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/proc.go
src/runtime/signal_unix.go