aboutsummaryrefslogtreecommitdiff
path: root/src/syscall/syscall_plan9.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2014-09-08 16:56:46 -0400
committerRuss Cox <rsc@golang.org>2014-09-08 16:56:46 -0400
commit201cfe4afb657fec7bc9535ff0e2312be762c2ca (patch)
tree31122b6e55f96a6038e3057e8ef251ae8e911d8a /src/syscall/syscall_plan9.go
parent3a3d47db370805205181da8f96ebf79c3507e953 (diff)
downloadgo-201cfe4afb657fec7bc9535ff0e2312be762c2ca.tar.xz
runtime: run sighandler on g0 stack on windows
The sighander has been run at the bottom of the currently executing goroutine stack, but it's in C, and we don't want C on our ordinary goroutine stacks. Worse, it does a lot of stuff, and it might need more stack space. There is scary code in traceback_windows.go that talks about stack splits during sighandler. Moving sighandler to g0 will eliminate the possibility of stack splits and such, and then we can delete traceback_windows.go entirely. Win win. On the builder, all.bat passes with GOARCH=amd64 and all.bat gets most of the way with GOARCH=386 except for a DLL-loading test that I think is unrelated. Fixes windows build. TBR=brainman, iant CC=golang-codereviews https://golang.org/cl/140380043
Diffstat (limited to 'src/syscall/syscall_plan9.go')
0 files changed, 0 insertions, 0 deletions