summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qbasicatomic.h
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2022-12-22 16:19:13 +0100
committerAssam Boudjelthia <assam.boudjelthia@qt.io>2022-12-26 10:05:35 +0000
commitdbcbadb7ac6620fabadd173b54d292bbadcb5b58 (patch)
treef78dea88a8c74d6e3c136003f9b611ea61f20241 /src/corelib/thread/qbasicatomic.h
parentf46a7698d3469e9192532d7d1a7d934d0308f2f0 (diff)
runOnAndroidMainThread(): optimize shared pointer use
- port from QSharedPointer to std::shared_ptr (one instead of two atomic ops per shared-pointer copy) - port to std::make_shared (one instead of two memory allocations for shared-pointer + payload creation) Pick-to: 6.5 Change-Id: Idecef5732d181a63e6936f54204eeb7ecbdc4a0f Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Diffstat (limited to 'src/corelib/thread/qbasicatomic.h')
0 files changed, 0 insertions, 0 deletions