Re: Hang opening a pipe written to by a child, with SIGCHLD

From: Oleg Nesterov
Date: Tue Apr 10 2012 - 19:13:16 EST


On 04/11, Oleg Nesterov wrote:
>
> Or may be you can "fix" this script, just add "exec < $PIPE"
> before the main "while true" loop.

Cough, no ;) this can equally race with the exiting child.

Oleg.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/