You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ji...@apache.org on 2020/12/22 10:52:52 UTC

[openoffice] branch AOO42X updated: 500 is way too long. 100ms is about right.

This is an automated email from the ASF dual-hosted git repository.

jim pushed a commit to branch AOO42X
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/AOO42X by this push:
     new 32446d2  500 is way too long. 100ms is about right.
32446d2 is described below

commit 32446d21ff30b4741073da7251195c8574b837ea
Author: Jim Jagielski <ji...@gmail.com>
AuthorDate: Tue Dec 22 05:52:00 2020 -0500

    500 is way too long. 100ms is about right.
    
    (cherry picked from commit 1fa20894c018f00926ab113153d113b2173a3d45)
---
 main/vcl/aqua/source/app/salinst.cxx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/main/vcl/aqua/source/app/salinst.cxx b/main/vcl/aqua/source/app/salinst.cxx
index 4d27a87..c18f20e 100644
--- a/main/vcl/aqua/source/app/salinst.cxx
+++ b/main/vcl/aqua/source/app/salinst.cxx
@@ -785,9 +785,9 @@ void AquaSalInstance::Yield( bool bWait, bool bHandleAllCurrentEvents )
     {
         // #i103162#
         // wait until any thread (most likely the main thread)
-        // has dispatched an event, cop out at 500 ms
+        // has dispatched an event, cop out at 100 ms
         sal_uLong nCount;
-        TimeValue aVal = { 0, 500000000 };
+        TimeValue aVal = { 0, 100000000 };
         osl_resetCondition( maWaitingYieldCond );
         nCount = ReleaseYieldMutex();
         osl_waitCondition( maWaitingYieldCond, &aVal );