daemon : not atomic, depends on scheduling options

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Wed Nov 16 18:23:30 UTC 2011


On Nov 16, 2011 9:39 AM, "Stern, Eli" <eli.stern at intel.com> wrote:
>
> The waitpid() method does not work.
> Instead, I created a pipe. The child writes to the pipe after setsid().
The parent reads, then exits.
> This synchronizes everything.
>
> Is such a solution acceptable?

No. Let me have a look..


More information about the uClibc mailing list