diff options
| author | Akshat Kumar <seed@mail.nanosouffle.net> | 2013-01-30 02:53:56 -0800 |
|---|---|---|
| committer | Anthony Martin <ality@pbrane.org> | 2013-01-30 02:53:56 -0800 |
| commit | c74f3c457613638311e3cb2a57a9fca2df849e7a (patch) | |
| tree | d9dee8a405a309fc25b98c4ece130ac0de1513a4 /src/pkg/runtime/runtime.h | |
| parent | c5da34eabeb35dea137bb1a217173fc29bf44ca1 (diff) | |
| download | go-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.h | 3 |
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[]; }; |
