[MPlayer-users] Slave Command "run" doesn't reap forks
george at nsup.org
Wed Apr 15 10:00:31 CEST 2015
Le quintidi 25 germinal, an CCXXIII, Reimar Döffinger a écrit :
> I suspect we should periodically (or at least at the next run command) try
> to get rid of all zombies though.
There is already this in the code:
static void child_sighandler(int x)
pid = waitpid(-1, NULL, WNOHANG);
} while (pid > 0);
So zombies should be reaped.
(As a side note, setting SIGCHLD to SIG_IGN would have the same effect.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 819 bytes
Desc: Digital signature
More information about the MPlayer-users