]> Cypherpunks repositories - gostls13.git/commit
runtime: move runtime.write back to C
authorRuss Cox <rsc@golang.org>
Fri, 9 Mar 2012 05:10:34 +0000 (00:10 -0500)
committerRuss Cox <rsc@golang.org>
Fri, 9 Mar 2012 05:10:34 +0000 (00:10 -0500)
commitc9e5600f7d3c46d3053eadc83a9b02642413bcb3
tree0aea90973d00a18b066eec4572cc8fcabdaf13ee
parent26fa1c8248472e89cf61f7cb24ac0e7f4c876d72
runtime: move runtime.write back to C

It may have to switch stacks, since we are calling
a DLL instead of a system call.

badcallback says where it is, because it is being called
on a Windows stack already.

R=golang-dev, alex.brainman
CC=golang-dev
https://golang.org/cl/5782060
src/pkg/runtime/sys_windows_386.s
src/pkg/runtime/sys_windows_amd64.s
src/pkg/runtime/thread_windows.c