1
0
mirror of https://github.com/golang/go synced 2024-09-25 15:20:13 -06:00
go/misc/cgo
Rowan Worth c4770b991b runtime: co-exist with NPTL's pthread_cancel.
NPTL uses SIGRTMIN (signal 32) to effect thread cancellation.
Go's runtime replaces NPTL's signal handler with its own, and
ends up aborting if a C library that ends up calling
pthread_cancel is used.

This patch prevents runtime from replacing NPTL's handler.

Fixes #6997.

R=golang-codereviews, iant, dvyukov
CC=golang-codereviews
https://golang.org/cl/47540043
2014-01-09 09:34:04 -08:00
..
errors cmd/cgo: fix line number in an error message 2013-10-18 16:52:44 -04:00
gmp misc/cgo/gmp: fix typo. 2013-03-30 19:02:14 +08:00
life misc/cgo: prepare for 64-bit ints 2012-09-24 14:58:45 -04:00
stdio misc/cgo/stdio: make it work on Windows and also test it 2012-09-20 00:27:23 +08:00
test runtime: co-exist with NPTL's pthread_cancel. 2014-01-09 09:34:04 -08:00
testasan runtime: more flexible heap memory mapping on 64-bits 2013-06-12 18:47:16 +04:00
testcdefs misc/cgo/testcdefs: rm correct file in test.bash 2013-12-10 12:06:24 +11:00
testso cgo: enable cgo on dragonfly 2013-09-04 15:19:21 -07:00
testtls cmd/ld: emit TLS relocations during external linking 2013-03-27 13:27:35 -07:00