Commit d093bf48 authored by David du Colombier's avatar David du Colombier

runtime: handle abort note on Plan 9

Implement an abort note on Plan 9, as an
equivalent of the SIGABRT signal on other
operating systems.

Updates #11975.

Change-Id: I010c9b10f2fbd2471aacd1d073368d975a2f0592
Reviewed-on: https://go-review.googlesource.com/16300Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: David du Colombier <0intro@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
parent d18167fe
......@@ -51,4 +51,7 @@ var sigtable = [...]sigTabT{
// Alarms can be handled if desired, otherwise they're ignored.
{_SigNotify, "alarm"},
// Aborts can be handled if desired, otherwise they cause a stack trace.
{_SigNotify + _SigThrow, "abort"},
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment