aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/export_test.go
diff options
context:
space:
mode:
authorAlex Brainman <alex.brainman@gmail.com>2011-11-08 16:53:31 +1100
committerAlex Brainman <alex.brainman@gmail.com>2011-11-08 16:53:31 +1100
commitb776b9e724f3edbe4f52d0c1b8dd3ee532a897a3 (patch)
tree096e9301ad5736c09344bbbca95b031ece66a184 /src/pkg/runtime/export_test.go
parent2fcb045242bfdf96fdc3dbfc847847ed14ebebc1 (diff)
downloadgo-b776b9e724f3edbe4f52d0c1b8dd3ee532a897a3.tar.xz
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
Diffstat (limited to 'src/pkg/runtime/export_test.go')
-rw-r--r--src/pkg/runtime/export_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pkg/runtime/export_test.go b/src/pkg/runtime/export_test.go
index 53c5fcba47..c603e1b0d7 100644
--- a/src/pkg/runtime/export_test.go
+++ b/src/pkg/runtime/export_test.go
@@ -18,6 +18,8 @@ var F64toint = f64toint
func entersyscall()
func exitsyscall()
+func golockedOSThread() bool
var Entersyscall = entersyscall
var Exitsyscall = exitsyscall
+var LockedOSThread = golockedOSThread