[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: kdeextragear-2/kmplayer/src
From:       Koos Vriezen <koos.vriezen () xs4all ! nl>
Date:       2003-06-30 20:55:23
[Download RAW message or body]

On Mon, 30 Jun 2003, Oswald Buddenhagen wrote:

> On Mon, Jun 30, 2003 at 10:32:35PM +0200, Koos Vriezen wrote:
> > Still a mencoder process can remain by KProcess falsely emiting
> > processExited (maybe only one of its threads exits)
> >
> that's strange. can you analyze it further?
>
> > +    QTime t;
> > +    t.start ();
> > +    do {
> > +        KProcessController::theKProcessController->waitForProcessExit (2);
> > +    } while (t.elapsed () < 2000 && m_process->isRunning ());
> >
> *puke*
> kprocess::wait()

@since 3.2
puke on 3.1 :-) hmm, maybe I should have used waitpid (from sys/wait.h) ..
oh no that doesn't have a timeout, hence this puke

Koos
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic