]> Cypherpunks repositories - gostls13.git/commit
runtime: drop CLONE_PARENT
authorRuss Cox <rsc@golang.org>
Thu, 20 Jan 2011 18:36:00 +0000 (13:36 -0500)
committerRuss Cox <rsc@golang.org>
Thu, 20 Jan 2011 18:36:00 +0000 (13:36 -0500)
commit3c7104479c3d25db85705ddc6bdc01c19be0a54e
treec9d4dde991af0ed1ba9c65dced670e4fff85c228
parent32a8f5a8742daeb8c292f40d556c78f792207599
runtime: drop CLONE_PARENT

The functionality we want (shared ppid) is implied
by CLONE_THREAD already, and CLONE_PARENT
causes problems if the Go program is pid 1 (init).

See issue 1406 for more details.

Fixes #1406.

R=adg, iant
CC=golang-dev
https://golang.org/cl/3971044
src/pkg/runtime/linux/thread.c