[Libreoffice-commits] core.git: Branch 'libreoffice-5-1' - vcl/source

Michael Meeks michael.meeks at collabora.com
Tue Mar 15 09:35:38 UTC 2016


 vcl/source/app/svapp.cxx |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

New commits:
commit 255db21584a24e9e66907b12eb60fba46b527102
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Fri Mar 11 15:29:12 2016 +0000

    vcl: yield more cleanly and do less work for now.
    
    Change-Id: Ia3469fe4eb53f73fc85ee3c62db1411f9f4d1fb8
    Reviewed-on: https://gerrit.libreoffice.org/23250
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: László Németh <nemeth at numbertext.org>
    Reviewed-by: Michael Meeks <michael.meeks at collabora.com>

diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index a75a6db..a18b91e 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -534,9 +534,8 @@ void Application::Reschedule( bool i_bAllEvents )
 
 void Scheduler::ProcessEventsToIdle()
 {
-    int nSanity = 1000;
-    while(Scheduler::ProcessTaskScheduling(false) ||
-          ImplYield(false, false, 0))
+    int nSanity = 100;
+    while(ImplYield(false, true, 0))
     {
         if (nSanity-- < 0)
         {


More information about the Libreoffice-commits mailing list