]> Cypherpunks repositories - gostls13.git/commit
runtime: use compileCallback for ctrlhandler
authorAustin Clements <austin@google.com>
Tue, 13 Apr 2021 12:20:08 +0000 (08:20 -0400)
committerAustin Clements <austin@google.com>
Tue, 13 Apr 2021 21:13:09 +0000 (21:13 +0000)
commite512bc2cf0ce18342571fdbcdcd43d2bb13ef55b
tree9db43073780652c33cab4870491bfeda93f53787
parent069983e5db99fa6b94401f971e9c19440615d233
runtime: use compileCallback for ctrlhandler

This replaces the externalthreadhandler-based implementation of
ctrlhandler with one based on compileCallback. This is a step toward
eliminating externalthreadhandler.

For #45530.

Change-Id: I2de2f2f37777af292db67ccf8057b7566aab81f8
Reviewed-on: https://go-review.googlesource.com/c/go/+/309632
Trust: Austin Clements <austin@google.com>
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/cmd/link/internal/ld/pe.go
src/runtime/os_windows.go
src/runtime/sys_windows_386.s
src/runtime/sys_windows_amd64.s
src/runtime/sys_windows_arm.s
src/runtime/sys_windows_arm64.s