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



On Mon, 2011-11-21 at 16:23 +0100, Stephan Bergmann wrote:
True.  So an improvement probably better left for the hypothetical 
future where we have really fast save and/or save in the background.

        Of course; in a world of interactive co-editing; we should really
stream everything people edit to a journal file using that serialisation
& then replay it when we re-start ;-) [ and then kill autosave
altogether ].

        But that of course requires rather more work.

(One thing we could IMO improve though, is to not rely on trying to
save open documents from within a signal handler, but instead rely on
frequent auto-save and roll back to the last saved version after a
crash.)

        Until then, I think we need to stick with the signal handler, sadly, it
is truly ugly, and I assume it can deadlock too if the signal happens at
certain places wrt. holding mutex', remarkably few posix calls are
signal-safe.

        HTH,

                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.