]> Cypherpunks repositories - gostls13.git/commit
runtime: add GODEBUG=asyncpreemptoff=1
authorAustin Clements <austin@google.com>
Sun, 13 Oct 2019 15:27:47 +0000 (11:27 -0400)
committerAustin Clements <austin@google.com>
Sat, 2 Nov 2019 21:51:07 +0000 (21:51 +0000)
commit40b74558771ba9db493728dcaabe43318daf9b97
tree9a93c52f88a3c047ad7a04f3ac55e10baefe8dd6
parentbdb5e9d170939a044621ddaa7622ff28d538875d
runtime: add GODEBUG=asyncpreemptoff=1

This doesn't do anything yet, but it will provide a way to disable
non-cooperative preemption.

For #10958, #24543.

Change-Id: Ifdef303f103eabd0922ced8d9bebbd5f0aa2cda4
Reviewed-on: https://go-review.googlesource.com/c/go/+/201757
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/runtime/extern.go
src/runtime/runtime1.go