summaryrefslogtreecommitdiffstats
path: root/examples/widgets/tools/codecs
diff options
context:
space:
mode:
authorTim Blechmann <[email protected]>2025-07-10 08:48:39 +0800
committerTim Blechmann <[email protected]>2025-07-15 14:18:31 +0800
commitc35cb7b686382b73c202f39bc795b2af809e98a5 (patch)
tree4e6d33bac1c7680a45cfaf667f23adbe25f051b5 /examples/widgets/tools/codecs
parent62c1405d61e06844c23e147fb7942e19b6ad2374 (diff)
QComObject: relax memory barriers for reference countingHEADdev
the memory barriers of QComObject can be slightly relaxed, which should improve performance of the reference counting: * AddRef does not require any memory barriers, we only need to increment the reference count. * Release has a "release" semantics, unless the reference count drops to zero. In this case we need to acquire to ensure that writes from other threads are visible. Change-Id: I3035416642801a1974bb02f33d58d10513df1988 Reviewed-by: Artem Dyomin <[email protected]> Reviewed-by: Pavel Dubsky <[email protected]>
Diffstat (limited to 'examples/widgets/tools/codecs')
0 files changed, 0 insertions, 0 deletions