runtime: add windows callback tests

Just a copy of cgo callback tests from misc/cgo/test.

R=rsc
CC=golang-dev, hectorchu
https://golang.org/cl/5331062
This commit is contained in:
Alex Brainman 2011-11-08 16:53:31 +11:00
parent 2fcb045242
commit b776b9e724
3 changed files with 105 additions and 1 deletions

View file

@ -18,6 +18,8 @@ var F64toint = f64toint
func entersyscall()
func exitsyscall()
func golockedOSThread() bool
var Entersyscall = entersyscall
var Exitsyscall = exitsyscall
var LockedOSThread = golockedOSThread