]> Cypherpunks repositories - gostls13.git/commit
runtime: run deferred calls at Goexit
authorRuss Cox <rsc@golang.org>
Tue, 30 Mar 2010 04:48:22 +0000 (21:48 -0700)
committerRuss Cox <rsc@golang.org>
Tue, 30 Mar 2010 04:48:22 +0000 (21:48 -0700)
commit83727ccf7c3b90b540d8683240e9fb3032d31890
tree05b4a54f71b354a1a9de49a88cbfffeb2683ab4e
parentbc32dd9ec4b81aa6b53da2a0b9b6cc6f8d3a8e92
runtime: run deferred calls at Goexit

baby step toward panic+recover.

Fixes #349.

R=r
CC=golang-dev
https://golang.org/cl/825043
src/pkg/runtime/386/asm.s
src/pkg/runtime/amd64/asm.s
src/pkg/runtime/arm/asm.s
src/pkg/runtime/extern.go
src/pkg/runtime/proc.c
src/pkg/runtime/runtime.h