aboutsummaryrefslogtreecommitdiff
path: root/src/cmd
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2021-04-13 08:20:08 -0400
committerAustin Clements <austin@google.com>2021-04-13 21:13:09 +0000
commite512bc2cf0ce18342571fdbcdcd43d2bb13ef55b (patch)
tree9db43073780652c33cab4870491bfeda93f53787 /src/cmd
parent069983e5db99fa6b94401f971e9c19440615d233 (diff)
downloadgo-e512bc2cf0ce18342571fdbcdcd43d2bb13ef55b.tar.xz
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>
Diffstat (limited to 'src/cmd')
-rw-r--r--src/cmd/link/internal/ld/pe.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/link/internal/ld/pe.go b/src/cmd/link/internal/ld/pe.go
index b590d5082d..dc1b53010a 100644
--- a/src/cmd/link/internal/ld/pe.go
+++ b/src/cmd/link/internal/ld/pe.go
@@ -947,8 +947,8 @@ func (f *peFile) writeOptionalHeader(ctxt *Link) {
// calls that may need more stack than we think.
//
// The default stack reserve size directly affects only the main
- // thread, ctrlhandler thread, and profileloop thread. For
- // these, it must be greater than the stack size assumed by
+ // thread and threads that enter in externalthreadhandler.
+ // For this, it must be greater than the stack size assumed by
// externalthreadhandler.
//
// For other threads, the runtime explicitly asks the kernel