Ludovic Courtès skribis: > While working on a fix for this issue (finalizer pipe shared between > parent and child process), I found the ‘sleep_pipe’ of the main thread > is also shared between the parent and its child. Here’s a patch that fixes the problem as exposed by the reproducer. Thoughts? (We’d need these pipes to be “O_CLOFORK” rather than O_CLOEXEC.) Ludo’.