summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uno
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-03-07 14:47:04 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-08 06:31:36 +0000
commit0531ffaf99941ad1d1a1c79b368c086cd9e64516 (patch)
tree80b8929ae9ef0c0998b08573b856713697c8dce8 /sw/source/uibase/uno
parent9cb57a50d7eeaa1dda19d18bcb3cde7e4a7984e5 (diff)
convert VclReferenceBase::mnRefCnt to oslInterlockedCount
Which means that ref-counting VCL widgets is now thread-safe. Destroying them, however, is not safe without holding the SolarMutex, which will the subject of a future patch. According to my tests running 'perf stat make check', this costs us approx 2% runtime on a non-debug Linux build using gcc. Costs are quite a bit higher when building with clang, which might need further investigation. Change-Id: I737170b74ec79e6b7c7d586ed5be89a73ee83597 Reviewed-on: https://gerrit.libreoffice.org/34948 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/uno')
0 files changed, 0 insertions, 0 deletions