1
0
mirror of https://github.com/golang/go synced 2024-09-29 12:24:31 -06:00
go/misc/cgo/testcarchive
Ian Lance Taylor 21b4f234c7 runtime: for c-archive/c-shared, install signal handlers synchronously
The previous behaviour of installing the signal handlers in a separate
thread meant that Go initialization raced with non-Go initialization if
the non-Go initialization also wanted to install signal handlers.  Make
installing signal handlers synchronous so that the process-wide behavior
is predictable.

Update #9896.

Change-Id: Ice24299877ec46f8518b072a381932d273096a32
Reviewed-on: https://go-review.googlesource.com/18150
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: David Crawshaw <crawshaw@golang.org>
2016-01-09 00:58:38 +00:00
..
src runtime: preserve signal stack when calling Go on C thread 2016-01-06 23:11:42 +00:00
main2.c misc/cgo/testcarchive,testcshared: deflake tests 2016-01-07 01:32:29 +00:00
main3.c misc/cgo/testcarchive,testcshared: deflake tests 2016-01-07 01:32:29 +00:00
main4.c misc/cgo/testcarchive,testcshared: deflake tests 2016-01-07 01:32:29 +00:00
main.c runtime: for c-archive/c-shared, install signal handlers synchronously 2016-01-09 00:58:38 +00:00
test.bash runtime: preserve signal stack when calling Go on C thread 2016-01-06 23:11:42 +00:00