diff options
author | Russ Cox <rsc@golang.org> | 2014-09-08 16:56:46 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2014-09-08 16:56:46 -0400 |
commit | 13d89ea50fbfcf3ee71dba797c49e157453981b4 (patch) | |
tree | e2d8d3e581b34126bb998f33ef5f751d5c2b4617 /src/syscall/zsyscall_freebsd_amd64.go | |
parent | 3a64f37734ce3bf5591f01f0efc82eef4437bf07 (diff) | |
download | go-13d89ea50fbfcf3ee71dba797c49e157453981b4.tar.gz |
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://codereview.appspot.com/140380043
Diffstat (limited to 'src/syscall/zsyscall_freebsd_amd64.go')
0 files changed, 0 insertions, 0 deletions