From 08396f7825ee1f4349abfd389ff26a451d88f164 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 27 Jan 2016 06:42:10 -0800 Subject: [PATCH] doc: mention signal changes for c-archive/c-shared Change-Id: Ibba7fccba9617612e026bd0a208eb12918de465a Reviewed-on: https://go-review.googlesource.com/18985 Reviewed-by: Russ Cox --- doc/go1.6.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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

-- 2.48.1