]> Cypherpunks repositories - gostls13.git/commit
runtime: fix crash when returning from syscall during gc
authorHector Chu <hectorchu@gmail.com>
Tue, 11 Oct 2011 16:57:16 +0000 (12:57 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 11 Oct 2011 16:57:16 +0000 (12:57 -0400)
commit8584445289f3ee3b02dd3d2b24a137c9f282ab75
tree0cebcf5908453a76d55b3c50a632fb636ab0f996
parent4b749567b8ceb441b27ba375c85d52f6297faea3
runtime: fix crash when returning from syscall during gc

gp->m can go from non-nil to nil when it re-enters schedule().

R=golang-dev
CC=golang-dev, rsc
https://golang.org/cl/5245042
src/pkg/runtime/mgc0.c