]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/app.cpp
MPThread implementation by AJ Lavin
[wxWidgets.git] / src / mac / carbon / app.cpp
index 914bf892d8e4fe594db4377e1b0d4bf16593789b..7c82e31a6e54cce77a0627c7a807db75f7515c96 100644 (file)
@@ -1081,6 +1081,7 @@ void wxApp::MacDoOneEvent()
 #if wxUSE_THREADS
             if (g_numberOfThreads)
             {
+                YieldToAnyThread() ;
                 sleepTime = kEventDurationNoWait;
             }
             else