]> Cypherpunks repositories - gostls13.git/commit
pkg/runtime: Plan 9 signal handling in Go
authorAkshat Kumar <seed@mail.nanosouffle.net>
Fri, 4 May 2012 10:48:34 +0000 (03:48 -0700)
committerAnthony Martin <ality@pbrane.org>
Fri, 4 May 2012 10:48:34 +0000 (03:48 -0700)
commitccdca2cd6b84f290b0cf8709b11353e58cafdba9
treec261a6b5b3b5b43d234217d4d5478e592bb1ae5b
parentfe5005f721d3036dd3c6fa5c0e7b43c188342859
pkg/runtime: Plan 9 signal handling in Go

This adds proper note handling for Plan 9,
and fixes the issue of properly killing go procs.
Without this change, the first go proc that dies
(using runtime·exit()) would kill all the running
go procs. Proper signal handling is needed.

R=golang-dev, ality, rminnich, rsc
CC=golang-dev, john, mirtchovski
https://golang.org/cl/5617048
src/pkg/runtime/os_plan9.h
src/pkg/runtime/sys_plan9_386.s
src/pkg/runtime/thread_plan9.c