From: Stefan Csomor Date: Sun, 18 Apr 2004 16:33:42 +0000 (+0000) Subject: yielding from main loop X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/3b8d819f303aacd6545acb2f07e7b82f12660d39 yielding from main loop git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/app.cpp b/src/mac/carbon/app.cpp index 914bf892d8..7c82e31a6e 100644 --- a/src/mac/carbon/app.cpp +++ b/src/mac/carbon/app.cpp @@ -1081,6 +1081,7 @@ void wxApp::MacDoOneEvent() #if wxUSE_THREADS if (g_numberOfThreads) { + YieldToAnyThread() ; sleepTime = kEventDurationNoWait; } else