]> Cypherpunks repositories - gostls13.git/commit
runtime: windows/amd64 callbacks fixed and syscall fixed to allow using it in callbacks
authorJaroslavas Počepko <jp@webmaster.ms>
Tue, 30 Aug 2011 12:02:02 +0000 (22:02 +1000)
committerAlex Brainman <alex.brainman@gmail.com>
Tue, 30 Aug 2011 12:02:02 +0000 (22:02 +1000)
commitc586b5b96b8156a97ef24c69fa315f95b4b6bbd2
tree69a40a2fe6beb9eb5166bc81a0553bb47cb1cfee
parent2d489e67dc14942e62820cb6b521b4e40b831f0f
runtime: windows/amd64 callbacks fixed and syscall fixed to allow using it in callbacks
Fixes #2178.
Patch2: Fixed allocating shadow space for stdcall (must be at least 32 bytes in any case)
Patch3: Made allocated chunk smaller.
Patch4: Typo
Patch5: suppress linktime warning "runtime.callbackasm: nosplit stack overflow"
Patch6: added testcase src/pkg/syscall/callback_windows_test.go
Patch7: weakly related files moved to https://golang.org/cl/4965050 https://golang.org/cl/4974041 https://golang.org/cl/4965051
Patch8: reflect changes https://golang.org/cl/4926042/
Patch9: reflect comments

R=golang-dev, alex.brainman, vcc.163
CC=golang-dev, hectorchu
https://golang.org/cl/4958042
src/pkg/runtime/Makefile
src/pkg/runtime/syscall_windows_test.go
src/pkg/runtime/windows/386/callback.c [new file with mode: 0644]
src/pkg/runtime/windows/amd64/callback.c [new file with mode: 0644]
src/pkg/runtime/windows/amd64/sys.s
src/pkg/runtime/windows/thread.c