libev's child reaping breaks system() function

2010-08-26 Thread Robin Haberkorn
Hi! I don't know if that has been brought up before (I couldn't find anything). libev reaps all child processess synchronously in the default event loop. This behaviour can result in child reaping race conditions, generally if waitpid() and in particular if system() (declared in stdlib.h) is also

Re: libev's child reaping breaks system() function

2010-08-26 Thread Marc Lehmann
On Thu, Aug 26, 2010 at 08:02:17PM +0200, Robin Haberkorn r...@travelping.com wrote: However in multi-threaded environments, system() cannot multi-threading itself breaks a lot of stuff (fork for example) in subtle ways. this issue is not really something that libev can do something about. the