1
0
mirror of https://github.com/golang/go synced 2024-11-19 23:04:40 -07:00
go/misc/cgo
Ian Lance Taylor a7cad52e04 runtime: preserve signal stack when calling Go on C thread
When calling a Go function on a C thread, if the C thread already has an
alternate signal stack, use that signal stack instead of installing a
new one.

Update #9896.

Change-Id: I62aa3a6a4a1dc4040fca050757299c8e6736987c
Reviewed-on: https://go-review.googlesource.com/18108
Reviewed-by: Russ Cox <rsc@golang.org>
2016-01-06 23:11:42 +00:00
..
errors cmd/cgo: map C unsigned char back to _Ctype_uchar in error messages 2015-12-16 22:13:17 +00:00
gmp misc/cgo/gmp: change pi.go to use standard Go copyright header 2015-12-11 13:29:46 +00:00
life misc/cgo/stdio: reenable tests 2015-12-05 21:24:30 +00:00
nocgo cmd/ld: really import runtime/cgo for external link 2014-05-20 21:36:50 -07:00
stdio misc/cgo/stdio: reenable tests 2015-12-05 21:24:30 +00:00
test runtime: fix sigaltstack test Skipf format string 2015-12-24 18:34:18 +00:00
testasan
testcarchive runtime: preserve signal stack when calling Go on C thread 2016-01-06 23:11:42 +00:00
testcshared misc/cgo/testcshared: print a little more about GOROOT on failure 2016-01-05 14:19:24 +00:00
testgodefs build: convert run.bash, run.bat, and run.rc into a Go program 2015-03-03 23:22:11 +00:00
testsanitizers runtime: call msanwrite on object passed to runtime/cgo 2016-01-06 04:04:42 +00:00
testshared misc/cgo/testshared: add format specifier in Errorf calls 2015-11-21 10:19:16 +00:00
testsigfwd runtime: for c-archive/c-shared, don't install unnecessary signal handlers 2015-12-18 22:27:38 +00:00
testso cmd/dist: convert testso test into Go 2015-06-12 04:33:50 +00:00
testsovar misc/cgo/testsovar: needs the extern keyword to export variables on non-windows platforms 2015-07-21 18:10:57 +00:00
testtls misc/cgo/testtls: make test less flaky 2014-01-21 19:44:51 -05:00