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

List:       kde-commits
Subject:    kdesupport/soprano/backends/virtuoso
From:       Sebastian Trueg <sebastian () trueg ! de>
Date:       2010-02-22 12:30:58
Message-ID: 1266841858.573298.27912.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1094283 by trueg:

Wait for the terminated virtuoso instance to be gone before continuing.

 M  +2 -0      virtuosocontroller.cpp  


--- trunk/kdesupport/soprano/backends/virtuoso/virtuosocontroller.cpp #1094282:1094283
@@ -37,6 +37,7 @@
 #ifndef Q_OS_WIN
 #include <sys/types.h>
 #include <signal.h>
+#include <wait.h>
 #endif
 
 Q_DECLARE_METATYPE( QProcess::ExitStatus )
@@ -117,6 +118,7 @@
 #ifndef Q_OS_WIN
             qDebug( "Shutting down Virtuoso instance (%d) which is in our way.", pid );
             ::kill( pid_t( pid ), SIGINT );
+            ::waitpid( pid_t( pid ), 0, 0 );
 #endif
             pid = 0;
         }
[prev in list] [next in list] [prev in thread] [next in thread] 

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