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



Surely now that it's confined to a single thread, it can just call AttachThread() once at startup, and never need to call DetachThread() ?

-- Noel Grandin

On 2012-01-13 10:54, Stephan Bergmann wrote:
On 01/12/2012 02:18 PM, Michael Meeks wrote:
On Thu, 2012-01-12 at 10:44 +0100, Stephan Bergmann wrote:
One drawback of using the thread-affine apartment is that all code
related to the JDBC driver is effectively serialized, removing any
potential performance advantage from accessing the driver from multiple
treads.  I do not know whether that is acceptable or not.

    Given the generally tangled locking everywhere I would expect that
virtually everything is serialised anyway ;-) so ...

    It'd be great to have a fix for the base guys I guess.

Yeah, probably not worth it bothering about MT-performance here. Anyway, pushed now to libreoffice-3-5 and master.

Stephan
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Disclaimer: http://www.peralex.com/disclaimer.html



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.