Changeset 190

Timestamp:
Sep 22, 2009, 10:44:03 PM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

corelib: QProcess: Implemented child termination/death detection using SIGCHILD and an auxiliary thread.

Location:
trunk/src/corelib/io
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/corelib/io/qprocess.cpp

    r72 r190  
    437437    serial = 0;
    438438#endif
     439
     440
     441
    439442}
    440443
     
    443446QProcessPrivate::~QProcessPrivate()
    444447{
     448
     449
     450
    445451    if (stdinChannel.process)
    446452        stdinChannel.process->stdoutChannel.clear();
     
    744750    processError = QProcess::FailedToStart;
    745751    emit q->error(processError);
    746 #ifdef Q_OS_UNIX
     752#if
    747753    // make sure the process manager removes this entry
    748754    waitForDeadChild();
     
    801807        waitForFinished();
    802808    }
    803 #ifdef Q_OS_UNIX
     809#if
    804810    // make sure the process manager removes this entry
    805811    d->findExitCode();
  • trunk/src/corelib/io/qprocess_os2.cpp