]> Cypherpunks repositories - gostls13.git/commit
runtime: manage stack by ourselves for badcallback on windows/amd64
authorShenghou Ma <minux.ma@gmail.com>
Wed, 14 Mar 2012 18:24:49 +0000 (02:24 +0800)
committerShenghou Ma <minux.ma@gmail.com>
Wed, 14 Mar 2012 18:24:49 +0000 (02:24 +0800)
commitb2a9079e54dc4e1e97551b8c60f2077888a544dc
treef0629faa7f8034e6e4ddd9fede540db5bda6ea73
parent1ddc9feb53d039f06ceb94cc4f6d0339be9a7ae2
runtime: manage stack by ourselves for badcallback on windows/amd64
This function uses 48-byte of precious non-split stack for every callback
function, and without this CL, it can easily overflow the non-split stack.
I encountered this when trying to enable misc/cgo/test on windows/amd64.

R=rsc
CC=golang-dev
https://golang.org/cl/5784075
src/pkg/runtime/sys_windows_amd64.s