runtime: Support cgo callbacks from threads started by C.
authorIan Lance Taylor <ian@gcc.gnu.org>
Tue, 23 Jul 2013 20:26:09 +0000 (20:26 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 23 Jul 2013 20:26:09 +0000 (20:26 +0000)
commit7acd2b86bfe6c13684e90e99799e6259fc7578a4
tree9fd65c56b9fe79df84a03e848ee2e499acd32e15
parentfb48aadc7876cd39a7503265aa822706a674e4ed
runtime: Support cgo callbacks from threads started by C.

This adjusts the extram support to work with gccgo.  There are
some corresponding changes to cgo in
https://codereview.appspot.com/11406047/ .

From-SVN: r201179
libgo/runtime/go-cgo.c
libgo/runtime/go-defer.c
libgo/runtime/go-panic.c
libgo/runtime/proc.c
libgo/runtime/runtime.h