• R
    omit CLONE_PARENT flag to clone in pthread_create · 271c2119
    Rich Felker 提交于
    CLONE_PARENT is not necessary (CLONE_THREAD provides all the useful
    parts of it) and Linux treats CLONE_PARENT as an error in certain
    situations, without noticing that it would be a no-op due to
    CLONE_THREAD. this error case prevents, for example, use of a
    multi-threaded init process and certain usages with containers.
    271c2119
pthread_create.c 6.3 KB