[Libreoffice] Thread Safety

Michael Meeks michael.meeks at novell.com
Tue Apr 26 12:48:23 PDT 2011


On Tue, 2011-04-26 at 14:57 -0400, Kohei Yoshida wrote:
> Making stuff thread-safe comes with an overhead, and in some code
> thread-safety isn't really guaranteed, like Calc core.

	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.

	So - I'm with Kohei mostly - lets not do over-expensive,
non-inline-able nonsense atomic operations when we don't need to.

	HTH,

		Michael.

-- 
 michael.meeks at novell.com  <><, Pseudo Engineer, itinerant idiot




More information about the LibreOffice mailing list