Skip to content

Commit

Permalink
doc/go1.7: document signal name printing during panics
Browse files Browse the repository at this point in the history
Document new behavior about signal name printing
in panics as per CL golang.org/cl/22753.

For #15810

Change-Id: I9c677d5dd779b41e82afa25e3c797d8e739600d3
Reviewed-on: https://go-review.googlesource.com/23493
Reviewed-by: Russ Cox <rsc@golang.org>
  • Loading branch information
odeke-em authored and rsc committed May 27, 2016
1 parent dec1bae commit 65dd081
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/go1.7.html
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,11 @@ <h3 id="runtime">Runtime</h3>
<a href="/ref/spec#Run_time_panics">required by the language specification</a>.
</p>

<p>
During panics, if a signal's name is known, it will be printed in the stack trace.
Otherwise, the signal's number will be used, as it was before Go1.7.
</p>

<p>
The new function
<a href="/pkg/runtime/#KeepAlive"><code>KeepAlive</code></a>
Expand Down

0 comments on commit 65dd081

Please sign in to comment.