]> Cypherpunks repositories - gostls13.git/commit
runtime: add support for panic/recover in Plan 9 note handler
authorAkshat Kumar <seed@mail.nanosouffle.net>
Wed, 30 Jan 2013 10:53:56 +0000 (02:53 -0800)
committerAnthony Martin <ality@pbrane.org>
Wed, 30 Jan 2013 10:53:56 +0000 (02:53 -0800)
commitc74f3c457613638311e3cb2a57a9fca2df849e7a
treed9dee8a405a309fc25b98c4ece130ac0de1513a4
parentc5da34eabeb35dea137bb1a217173fc29bf44ca1
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
12 files changed:
src/cmd/dist/buildruntime.c
src/pkg/runtime/defs_plan9_386.h
src/pkg/runtime/defs_plan9_amd64.h
src/pkg/runtime/os_plan9.h
src/pkg/runtime/runtime.h
src/pkg/runtime/signal_plan9_386.c
src/pkg/runtime/signal_plan9_amd64.c
src/pkg/runtime/signals_plan9.h
src/pkg/runtime/stack.h
src/pkg/runtime/sys_plan9_386.s
src/pkg/runtime/sys_plan9_amd64.s
src/pkg/runtime/thread_plan9.c