https://bugs.documentfoundation.org/show_bug.cgi?id=89855

--- Comment #1 from Stephan Bergmann <sberg...@redhat.com> ---
The difference in cppu_detail_getUnoType implementations is due to
css.uno.XAdapter being one of the "bootstrap" types for which type info is
always emitted "comprehensively" (cf. isBootstrapType in
codemaker/source/cppumaker/cpputype.cxx).

The code is racy and should eventually be fixed, but the race has always been
considered harmless at least on average contemporary platforms (where reads and
writes of pointer values are atomic and writes happen in order, so the worst
that can happen is that multiple threads call into typelib_static_type_init in
parallel, where they are then properly scheduled via a mutex, cf.
cppu/source/typelib/static_types.cxx).

Did you observe any actual problems caused by the current code?

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to