From: Ian Lance Taylor Date: Wed, 27 Jan 2016 14:42:10 +0000 (-0800) Subject: doc: mention signal changes for c-archive/c-shared X-Git-Tag: go1.6rc1~13 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=08396f7825ee1f4349abfd389ff26a451d88f164;p=gostls13.git doc: mention signal changes for c-archive/c-shared Change-Id: Ibba7fccba9617612e026bd0a208eb12918de465a Reviewed-on: https://go-review.googlesource.com/18985 Reviewed-by: Russ Cox --- diff --git a/doc/go1.6.html b/doc/go1.6.html index 5e5149fa10..cd1515224d 100644 --- a/doc/go1.6.html +++ b/doc/go1.6.html @@ -341,6 +341,19 @@ and changing the global timer resolution caused problems on some systems, so the call has been removed.

+

+When using -buildmode=c-archive or +-buildmode=c-shared to build an archive or a shared +library, the handling of signals has changed. +In Go 1.5 the archive or shared library would install a signal handler +for most signals. +In Go 1.6 it will only install a signal handler for the +synchronous signals needed to handle run-time panics in Go code: +SIGBUS, SIGFPE, SIGSEGV. +See the os/signal package for more +details. +

+

Reflect