Review Request: Workaround for the hang (freeze) when opening VLC's file dialog under KDE...

Oswald Buddenhagen ossi at kde.org
Fri Feb 4 17:05:09 GMT 2011


On Fri, Feb 04, 2011 at 05:41:16PM +0100, Thiago Macieira wrote:
> This makes each process started spawn a new thread, which
> will block on waitpid(2).
>
i have the vague notion that blocking/ignoring sigchld will prevent
wait*() from working on some systems. dunno where i got that from.

> I'm working on a solution that won't start the thread unless the
> stderr and stdout pipes close (if they were open in the first place)
> but the subprocess didn't exit.
> 
that won't work, because the process may spawn children who inherit its
stdio and thus keep it open even after it exits.

>  void QProcessPrivate::initializeProcessManager()
>  {
> -    (void) processManager();
> +    // Unix no longer has a process manager
>
neither should windows. => trash?




More information about the kde-core-devel mailing list