aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/runtime.h
diff options
context:
space:
mode:
authorAkshat Kumar <seed@mail.nanosouffle.net>2013-01-30 02:53:56 -0800
committerAnthony Martin <ality@pbrane.org>2013-01-30 02:53:56 -0800
commitc74f3c457613638311e3cb2a57a9fca2df849e7a (patch)
treed9dee8a405a309fc25b98c4ece130ac0de1513a4 /src/pkg/runtime/runtime.h
parentc5da34eabeb35dea137bb1a217173fc29bf44ca1 (diff)
downloadgo-c74f3c457613638311e3cb2a57a9fca2df849e7a.tar.xz
runtime: add support for panic/recover in Plan 9 note handler
This change also resolves some issues with note handling: we now make sure that there is enough room at the bottom of every goroutine to execute the note handler, and the `exitstatus' is no longer a global entity, which resolves some race conditions. R=rminnich, npe, rsc, ality CC=golang-dev https://golang.org/cl/6569068
Diffstat (limited to 'src/pkg/runtime/runtime.h')
-rw-r--r--src/pkg/runtime/runtime.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pkg/runtime/runtime.h b/src/pkg/runtime/runtime.h
index 22aead792c..187a827a02 100644
--- a/src/pkg/runtime/runtime.h
+++ b/src/pkg/runtime/runtime.h
@@ -296,6 +296,9 @@ struct M
#ifdef GOOS_windows
void* thread; // thread handle
#endif
+#ifdef GOOS_plan9
+ int8* notesig;
+#endif
SEH* seh;
uintptr end[];
};