diff options
author | Marc Mutz <marc.mutz@qt.io> | 2025-07-03 09:39:02 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2025-07-11 21:16:59 +0200 |
commit | 70af32388c68c1c10f2762ff5b01a4ba51dc70ba (patch) | |
tree | 64d063abde2c9e264254de37ccc03a533f2b7682 /configure.cmake | |
parent | 6263dc513758ca68a2a1c4784a95363388ccffe1 (diff) |
QFreeList: use 3-arg testAndSet() [2/2]: id6.9
We don't need to load() the id each time around the loop, we can use
the 3-arg CAS operation to do it for us.
Need to make the CAS ordered (= release + acquire), because the load
that moved into it was acquire, too.
Pick-to: 6.8 6.5
Change-Id: Ie6769ac20743ba12d9c523020b8a68655b20da69
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit c253d47ea52f57a80f67ed7bbda3e20819229d2c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit ba921cf0c767e66181ff89625ea79694ce79961c)
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'configure.cmake')
0 files changed, 0 insertions, 0 deletions