replace double-checked locking patterns with thread safe local statics

Desktop / LibreOffice - Mike Kaganski [collabora.com] - 4 November 2018 13:46 EST

Change-Id: I1bf67196e97411aeecc13ed4f91d1088a315e323 Reviewed-on: https://gerrit.libreoffice.org/62839

e128f7806961 replace double-checked locking patterns with thread safe local statics
bridges/source/cpp_uno/gcc3_aix_powerpc/except.cxx | 13 +-
bridges/source/cpp_uno/gcc3_ios/except.cxx | 13 +-
bridges/source/cpp_uno/gcc3_linux_alpha/except.cxx | 13 +-
bridges/source/cpp_uno/gcc3_linux_arm/except.cxx | 13 +-
bridges/source/cpp_uno/gcc3_linux_hppa/except.cxx | 13 +-
bridges/source/cpp_uno/gcc3_linux_ia64/except.cxx | 13 +-
bridges/source/cpp_uno/gcc3_linux_intel/except.cxx | 13 +-
bridges/source/cpp_uno/gcc3_linux_m68k/except.cxx | 13 +-
bridges/source/cpp_uno/gcc3_linux_mips/except.cxx | 13 +-
.../source/cpp_uno/gcc3_linux_mips64/except.cxx | 13 +-
.../source/cpp_uno/gcc3_linux_powerpc/except.cxx | 13 +-
.../source/cpp_uno/gcc3_linux_powerpc64/except.cxx | 13 +-
bridges/source/cpp_uno/gcc3_linux_s390/except.cxx | 13 +-
bridges/source/cpp_uno/gcc3_linux_s390x/except.cxx | 13 +-
bridges/source/cpp_uno/gcc3_linux_sparc/except.cxx | 13 +-
.../source/cpp_uno/gcc3_linux_sparc64/except.cxx | 13 +-
.../source/cpp_uno/gcc3_macosx_x86-64/except.cxx | 13 +-
.../source/cpp_uno/gcc3_solaris_intel/except.cxx | 13 +-
.../source/cpp_uno/gcc3_solaris_sparc/except.cxx | 13 +-
bridges/source/cpp_uno/msvc_win32_intel/except.cxx | 20 +-
.../source/cpp_uno/msvc_win32_x86-64/except.cxx | 38 +-
bridges/source/cpp_uno/shared/component.cxx | 40 +--
cppu/source/uno/data.cxx | 29 +-
cppuhelper/source/macro_expander.cxx | 18 +-
cppuhelper/source/paths.cxx | 21 +-
pyuno/source/module/pyuno_module.cxx | 30 +-
sal/rtl/bootstrap.cxx | 32 +-
sal/rtl/uuid.cxx | 17 +-
stoc/source/invocation/invocation.cxx | 63 ++--
stoc/source/proxy_factory/proxyfac.cxx | 33 +-
stoc/source/security/permissions.cxx | 18 +-
stoc/test/testsmgr_cpnt.cxx | 9 +-
svl/source/numbers/numfmuno.cxx | 2 -
svx/source/unodraw/unoshape.cxx | 320 +++++++----------
toolkit/source/awt/vclxmenu.cxx | 42 +--
toolkit/source/awt/vclxtoolkit.cxx | 26 +-
toolkit/source/helper/property.cxx | 384 ++++++++++-----------
.../source/forms/handler/form_handler_factory.cxx | 20 +-
.../source/framework/xmlsignaturetemplateimpl.cxx | 1 -
xmlsecurity/source/gpg/xmlsignature_gpgimpl.cxx | 1 -
40 files changed, 477 insertions(+), 934 deletions(-)

Upstream: cgit.freedesktop.org


  • Share