ProcessReaper: single thread reaper (original) (raw)

Peter Levart peter.levart at gmail.com
Tue Mar 25 14:21:38 UTC 2014


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



More information about the core-libs-dev mailing list