]> Cypherpunks repositories - gostls13.git/commit
runtime: avoid race with forcegc helper
authorRuss Cox <rsc@golang.org>
Tue, 2 Sep 2014 23:18:46 +0000 (19:18 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 2 Sep 2014 23:18:46 +0000 (19:18 -0400)
commit9aa7d136f52928587a6bd2db320f4f4f2b6b0666
treea96197bfb90cf3495ce1803106c670ab78d72bff
parentd8cbbe68024256ef4ead0a9d4d9d874c28f41a31
runtime: avoid race with forcegc helper

While we are here, give the gc helper a real function name
that will appear in stack traces.

LGTM=rlh
R=rlh
CC=dvyukov, golang-codereviews
https://golang.org/cl/133470043
src/pkg/runtime/proc.c
src/pkg/runtime/proc.go