]> Cypherpunks repositories - gostls13.git/commit
syscall: cleanly exit all Go procs on Plan 9
authorAkshat Kumar <seed@mail.nanosouffle.net>
Thu, 19 Apr 2012 23:31:26 +0000 (16:31 -0700)
committerAnthony Martin <ality@pbrane.org>
Thu, 19 Apr 2012 23:31:26 +0000 (16:31 -0700)
commit49a7da2dd94347f0e019e832fd4584c4263bf7ff
tree1d399c8326042d478e43959978d563e2713c4b17
parentfca32f02e90b3ea2ddfb744fdd43608821f51220
syscall: cleanly exit all Go procs on Plan 9

syscall.Exit would originally kill only the calling
Go proc, leaving behind other procs in the
same group. This change makes syscall.Exit call
runtime·exit, which due to CL
https://golang.org/cl/5617048
will cleanly exit all the Go procs in the group.

R=golang-dev, rsc, rminnich, remyoudompheng, ality, john
CC=golang-dev, mirtchovski
https://golang.org/cl/6036051
src/pkg/syscall/asm_plan9_386.s
src/pkg/syscall/syscall_plan9.go