On 03/25/2014 03:05 PM, Peter Levart wrote:
That's enough races for today.

Or just one more...

The debug log("Unexpected process exit for pid:...") could also be reached when new process is spawned by UNIXProcess constructor and before the constructor manages to register new consumer for it's pid, the child process finishes and gets processed by reaper task, which does not find a registration for the pid and reports unexpected process exit. But that's just logging. What's important is that when consumer finally manages to be registered, it will be called synchronously from the same thread that registers it (from UNIXProcess constructor)...

Regards, Peter

Reply via email to