]> Cypherpunks repositories - gostls13.git/commit
runtime: allow cgo callbacks on non-Go threads
authorRuss Cox <rsc@golang.org>
Wed, 20 Feb 2013 22:48:23 +0000 (17:48 -0500)
committerRuss Cox <rsc@golang.org>
Wed, 20 Feb 2013 22:48:23 +0000 (17:48 -0500)
commit6c976393aea607e67f4d31e3a2ae7b3c0dc15ade
tree7c168ce818eec974c9f28584a6497c616f4d8e6f
parent43da336b151993fa3b0d17dc443f5ba9d29d482f
runtime: allow cgo callbacks on non-Go threads

Fixes #4435.

R=golang-dev, iant, alex.brainman, minux.ma, dvyukov
CC=golang-dev
https://golang.org/cl/7304104
20 files changed:
misc/cgo/test/cgo_test.go
misc/cgo/test/cthread.go [new file with mode: 0644]
misc/cgo/test/cthread_unix.c [new file with mode: 0644]
misc/cgo/test/cthread_windows.c [new file with mode: 0644]
src/pkg/runtime/asm_386.s
src/pkg/runtime/asm_amd64.s
src/pkg/runtime/asm_arm.s
src/pkg/runtime/cgocall.c
src/pkg/runtime/os_windows.h
src/pkg/runtime/proc.c
src/pkg/runtime/runtime.h
src/pkg/runtime/sys_windows_386.s
src/pkg/runtime/sys_windows_amd64.s
src/pkg/runtime/thread_darwin.c
src/pkg/runtime/thread_freebsd.c
src/pkg/runtime/thread_linux.c
src/pkg/runtime/thread_netbsd.c
src/pkg/runtime/thread_openbsd.c
src/pkg/runtime/thread_plan9.c
src/pkg/runtime/thread_windows.c