Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index



On Thu, 2012-10-11 at 20:05 +0200, Eike Rathke wrote:
    It shouldn't be used in the real code - we should integrate with the
glib mainloop that is plugged into VCL :-)

AFAIK we do that for real code (if things didn't change).

        Ho hum - ideally we should have everything nicely asynchronous and just
return to the VCL mainloop; but - I imagine the existing code structure
can make that hard.

    The problem is a careless use of an iteration; if we ran the mainloop
until an asynchronous callback quit it - that would be -much- less of a
problem :-)

And we do that :-)

        Nice :-)

And we don't do it ;-)

    while (!pImpl->mbAccountManagerReadyHandlerInvoked)
            g_main_context_iteration( NULL, TRUE);

        Good; that looks safe enough :-) I forgot you'd cleaned all of that up.

        Thanks !

                Michael.

-- 
michael.meeks@suse.com  <><, Pseudo Engineer, itinerant idiot


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.