• Russ Cox's avatar
    runtime: drop CLONE_PARENT · 3c710447
    Russ Cox authored
    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
    3c710447
thread.c 6.68 KB