[Libreoffice] Thread Safety
Thorsten Behrens
thb at documentfoundation.org
Tue Apr 26 15:49:42 PDT 2011
Michael Meeks wrote:
> FWIW - the bogus and over-granular threading approach in existing
> LibreOffice code is something that needs beating to death.
> LibreOffice threading: "inspired by the java synchronized" keyword is a
> nightmare.
>
True - but:
> So - I'm with Kohei mostly - lets not do over-expensive,
> non-inline-able nonsense atomic operations when we don't need to.
>
You need them. Until you've eliminated almost all of the above.
Refcount races are *surely* much worse than the speed penalty of
atomic counts.
Cheers,
-- Thorsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110427/f0fd8470/attachment.pgp>
More information about the LibreOffice
mailing list