path: root/doc/src/network/files-and-resources
diff options
authorMarc Mutz <>2022-05-17 17:19:54 +0200
committerMarc Mutz <>2022-05-18 06:37:50 +0200
commitae765813d082d403889d2f98a9c21bd9628cdd58 (patch)
treeb8fcf1735f1b4f652f6023b013767ac616ee4391 /doc/src/network/files-and-resources
parentadb4a3beb7a0e02d4e4f96dadaa6587298c4d1f5 (diff)
Optimize atomics in QObject::moveToThread() [2/2]: de-duplicate loadsHEADdev
We don't need to reload d->threadData, as we've already loaded it into a register three lines above, so use the already-loaded value. We don't care whether we might have read a different value the second time around, because that would mean we had a race condition elsewhere in the program (e.g. concurrent moveToThread() calls). Pick-to: 6.3 Change-Id: I29a27ca23302288b5900ac6b45b8690a80e85680 Reviewed-by: Thiago Macieira <> Reviewed-by: Qt CI Bot <>
Diffstat (limited to 'doc/src/network/files-and-resources')
0 files changed, 0 insertions, 0 deletions