[Libreoffice-bugs] [Bug 112288] FILESAVE: LibreOffice is stuck while saving (MACOS)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Sep 8 15:42:49 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=112288

--- Comment #2 from Alex Thurgood <iplaw67 at tuta.io> ---
Possibly, in this block of svapp.cxx lines 454-474 :

inline bool ImplYield(bool i_bWait, bool i_bAllEvents, sal_uLong const
nReleased)
{
    ImplSVData* pSVData = ImplGetSVData();

    SAL_INFO("vcl.schedule", "Enter ImplYield: " << (i_bWait ? "wait" : "no
wait") <<
             ": " << (i_bAllEvents ? "all events" : "one event") << ": " <<
nReleased);

    // TODO: there's a data race here on WNT only because ImplYield may be
    // called without SolarMutex; if we can get rid of LazyDelete (with VclPtr)
    // then the only remaining use of mnDispatchLevel is in OSX specific code
    // so that would effectively eliminate the race on WNT
    pSVData->maAppData.mnDispatchLevel++;

    // do not wait for events if application was already quit; in that
    // case only dispatch events already available
    bool bProcessedEvent =
        pSVData->mpDefInst->DoYield(
            i_bWait && !pSVData->maAppData.mbAppQuit,
            i_bAllEvents, nReleased);

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170908/a6b8a1cc/attachment.html>


More information about the Libreoffice-bugs mailing list