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


On Mon, Nov 1, 2010 at 6:05 AM, Caolán McNamara <caolanm@redhat.com> wrote:
On Mon, 2010-11-01 at 10:54 +0100, David Tardon wrote:
Yes, but the situation here is different. The Paint method is actually
defined in the same class and has nothing in common with VCL's
Window::Paint. The actual painting is done through Canvas.

Can anyone convince me that its not cargo-cult programming and that the
mutexes achieve something worth-while ;-) ?

mutex usage in the product is appalling. The SolarMutex is used, for
instance in more than 8000 sites in the code.
getGlobalMutex() is used 850+ times...
The number in itself is not the issue, but the fact that Mutex are by
default Recursice, lead - in my opinion- to indiscriminate and casual
use of Mutex,
in a -just-in-case- kind of way.

Norbert


C.

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


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.