]> Cypherpunks repositories - gostls13.git/commitdiff
doc: mention signal changes for c-archive/c-shared
authorIan Lance Taylor <iant@golang.org>
Wed, 27 Jan 2016 14:42:10 +0000 (06:42 -0800)
committerIan Lance Taylor <iant@golang.org>
Wed, 27 Jan 2016 17:30:54 +0000 (17:30 +0000)
Change-Id: Ibba7fccba9617612e026bd0a208eb12918de465a
Reviewed-on: https://go-review.googlesource.com/18985
Reviewed-by: Russ Cox <rsc@golang.org>
doc/go1.6.html

index 5e5149fa1013481b7abf495828d9c0d819cc7058..cd1515224d6282e6899d430745bc2f74029abde8 100644 (file)
@@ -341,6 +341,19 @@ and changing the global timer resolution caused problems on some systems,
 so the call has been removed.
 </p>
 
+<p>
+When using <code>-buildmode=c-archive</code> or
+<code>-buildmode=c-shared</code> 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 <a href="/pkg/os/signal">os/signal</a> package for more
+details.
+</p>
+
 <h3 id="reflect">Reflect</h3>
 
 <p>