]> Cypherpunks repositories - gostls13.git/commit
runtime: always enable async preemption on darwin/arm64
authorCherry Zhang <cherryyz@google.com>
Sat, 24 Oct 2020 20:34:12 +0000 (16:34 -0400)
committerCherry Zhang <cherryyz@google.com>
Wed, 28 Oct 2020 14:00:36 +0000 (14:00 +0000)
commit7c8d82e92be894fe02b1a0bee775cf803c6849c1
tree0f5a8375e62dbe53147baee2c1f4d5879f7b9fea
parenta0a44397e91055cb92d5a69e3851d628a7227971
runtime: always enable async preemption on darwin/arm64

Now that we have the G register saved, we can enable asynchronous
preemption for pure Go programs on darwin/arm64.

Updates #38485, #36365.

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