diff options
| author | Aram Hăvărneanu <aram@mgk.ro> | 2014-03-13 18:26:01 +1100 |
|---|---|---|
| committer | Dave Cheney <dave@cheney.net> | 2014-03-13 18:26:01 +1100 |
| commit | 28792f5d83578d9087be5d3b2490ae8a10e189de (patch) | |
| tree | b7dd33b33cc1968e1df6605f88552a73788e47ec /src/pkg/runtime/stack.c | |
| parent | fcc10bc0f1bed00e951f26bd32aaeea5d6d691b3 (diff) | |
| download | go-28792f5d83578d9087be5d3b2490ae8a10e189de.tar.xz | |
runtime: avoid runtime·cgocall in functions called by forkAndExecInChild
Calling runtime·cgocall could trigger a GC in the child while
gclock was held by the parent.
Fixes #7511
LGTM=bradfitz, dvyukov, dave
R=golang-codereviews, bradfitz, dvyukov, dave
CC=golang-codereviews, rsc
https://golang.org/cl/75210044
Diffstat (limited to 'src/pkg/runtime/stack.c')
0 files changed, 0 insertions, 0 deletions
