qt6-bb10/src/corelib/thread
Giuseppe D'Angelo 34fe9232db Port from QAtomic::load() to loadRelaxed()
Semi-automated, just needed ~20 manual fixes:

$ find \( -iname \*.cpp -or -iname \*.h \) -exec perl -pe 's/(\.|->)load\(\)/$1loadRelaxed\(\)/g' -i \{\} +
$ find \( -iname \*.cpp -or -iname \*.h \) -exec perl -pe 's/(\.|->)store\(/$1storeRelaxed\(/g' -i \{\} +

It can be easily improved (e.g. for store check that there are no commas
after the opening parens). The most common offender is QLibrary::load,
and some code using std::atomic directly.

Change-Id: I07c38a3c8ed32c924ef4999e85c7e45cf48f0f6c
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
2019-06-20 20:48:59 +02:00
..
qatomic.cpp QAtomic: introduce loadRelaxed() / storeRelaxed() 2019-06-10 16:56:17 +00:00
qatomic.h Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
qatomic_bootstrap.h Replace Q_DECL_NOEXCEPT with noexcept in corelib 2019-04-03 13:49:45 +00:00
qatomic_cxx11.h QAtomic: introduce loadRelaxed() / storeRelaxed() 2019-06-10 16:56:17 +00:00
qatomic_msvc.h Replace Q_DECL_NOEXCEPT with noexcept in corelib 2019-04-03 13:49:45 +00:00
qbasicatomic.h QAtomic: introduce loadRelaxed() / storeRelaxed() 2019-06-10 16:56:17 +00:00
qexception.cpp Make QT_NO_FUTURE a feature 2017-12-19 09:17:06 +00:00
qexception.h Make QT_NO_FUTURE a feature 2017-12-19 09:17:06 +00:00
qfutex_p.h Annotate the futex implementation for TSAN 2019-05-22 21:04:30 +00:00
qfuture.h QFuture: Wait for result on iterator advance 2019-05-13 10:41:25 +02:00
qfuture.qdoc Replace LGPL licenses in .qdoc files with FDL 2018-06-28 10:22:06 +00:00
qfutureinterface.cpp Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
qfutureinterface.h QFutureInterface::reportFinished use nullptr instead of 0 2018-07-05 15:22:35 +00:00
qfutureinterface_p.h Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
qfuturesynchronizer.h Make QT_NO_FUTURE a feature 2017-12-19 09:17:06 +00:00
qfuturesynchronizer.qdoc Replace LGPL licenses in .qdoc files with FDL 2018-06-28 10:22:06 +00:00
qfuturewatcher.cpp Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
qfuturewatcher.h Merge remote-tracking branch 'origin/5.10' into dev 2018-01-02 09:58:44 +01:00
qfuturewatcher_p.h Make QT_NO_FUTURE a feature 2017-12-19 09:17:06 +00:00
qgenericatomic.h QAtomic: introduce loadRelaxed() / storeRelaxed() 2019-06-10 16:56:17 +00:00
qmutex.cpp Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
qmutex.h Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
qmutex_linux.cpp Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
qmutex_mac.cpp Replace Q_DECL_NOEXCEPT with noexcept in corelib 2019-04-03 13:49:45 +00:00
qmutex_p.h Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
qmutex_unix.cpp QtCore: use qUtf16Printable and %ls, qErrnoWarning() 2019-05-29 18:24:30 +02:00
qmutex_win.cpp Replace Q_DECL_NOEXCEPT with noexcept in corelib 2019-04-03 13:49:45 +00:00
qmutexpool.cpp Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
qmutexpool_p.h Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
qorderedmutexlocker_p.h Replace Q_DECL_NOEXCEPT with noexcept in corelib 2019-04-03 13:49:45 +00:00
qreadwritelock.cpp Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
qreadwritelock.h Replace Q_DECL_NOEXCEPT with noexcept in corelib 2019-04-03 13:49:45 +00:00
qreadwritelock_p.h Modernize the "thread" feature 2018-08-17 00:34:36 +00:00
qresultstore.cpp doc: Fix all clang parse errors in QtBase during PCH build 2018-11-05 13:10:11 +00:00
qresultstore.h More nullptr usage in headers 2019-03-14 07:37:52 +00:00
qrunnable.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qrunnable.h Updated license headers 2016-01-15 12:25:24 +00:00
qsemaphore.cpp Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
qsemaphore.h Replace Q_DECL_NOEXCEPT with noexcept in corelib 2019-04-03 13:49:45 +00:00
qthread.cpp Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
qthread.h Remove handling of missing =delete and =default support 2019-05-02 11:14:29 +00:00
qthread_p.h Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
qthread_unix.cpp Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
qthread_win.cpp Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
qthreadpool.cpp Make QThreadPool::waitForDone more atomic 2018-11-12 13:00:56 +00:00
qthreadpool.h Modernize the "thread" feature 2018-08-17 00:34:36 +00:00
qthreadpool_p.h More nullptr usage in headers 2019-03-14 07:37:52 +00:00
qthreadstorage.cpp Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
qthreadstorage.h More nullptr usage in headers 2019-03-14 07:37:52 +00:00
qwaitcondition.h Modernize the "thread" feature 2018-08-17 00:34:36 +00:00
qwaitcondition.qdoc QWaitCondition: add notify_one/notify_all, i.e. STL naming 2016-07-30 12:10:29 +00:00
qwaitcondition_unix.cpp QtCore: use qUtf16Printable and %ls, qErrnoWarning() 2019-05-29 18:24:30 +02:00
qwaitcondition_win.cpp Windows code: Fix to prefer ranged-for, as clang-tidy advises 2018-09-02 16:05:39 +00:00
thread.pri Modernize the "thread" feature 2018-08-17 00:34:36 +00:00