]> git.saurik.com Git - wxWidgets.git/commitdiff
if it's a separate thread, it's allowed to hang (perf issue reported by BOINC)
authorStefan Csomor <csomor@advancedconcepts.ch>
Tue, 8 May 2007 04:52:26 +0000 (04:52 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Tue, 8 May 2007 04:52:26 +0000 (04:52 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/corefoundation/utilsexc_cf.cpp

index f9f52276607d3816fd6c74e5b1743ee7580f3cc0..7c3796c8a282a65b4f2fd22c23f9876d4d8c930c 100644 (file)
@@ -80,7 +80,7 @@ void* wxProcessTerminationThread::Entry()
     {
         usleep(100);
         int status = 0;
-        int rc = waitpid(abs(m_data->pid), & status, WNOHANG);
+        int rc = waitpid(abs(m_data->pid), & status, 0);
         if (rc != 0)
         {
             if ((rc != -1) && WIFEXITED(status))