diff options
author | Tim Blechmann <[email protected]> | 2025-07-10 08:48:39 +0800 |
---|---|---|
committer | Tim Blechmann <[email protected]> | 2025-07-15 14:18:31 +0800 |
commit | c35cb7b686382b73c202f39bc795b2af809e98a5 (patch) | |
tree | 4e6d33bac1c7680a45cfaf667f23adbe25f051b5 /examples/widgets/imageviewer | |
parent | 62c1405d61e06844c23e147fb7942e19b6ad2374 (diff) |
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/imageviewer')
0 files changed, 0 insertions, 0 deletions