qt6-bb10/src/corelib/thread
Thiago Macieira d84da39964 Use the new 3-operand testAndSet functions in QMutex
This allows us to get the current value of the QMutex / QBasicMutex
after the testAndSet operation failed. It saves an extra load from
memory.

Change-Id: I4922a8b3df15e342b177b13f56cf4f1184314520
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
2014-04-05 21:47:09 +02:00
..
qatomic.cpp Add the rest of the non-volatile members of std::atomic to QBasicAtomic 2014-02-16 05:12:47 +01:00
qatomic.h Add the rest of the non-volatile members of std::atomic to QBasicAtomic 2014-02-16 05:12:47 +01:00
qbasicatomic.h Add the rest of the non-volatile members of std::atomic to QBasicAtomic 2014-02-16 05:12:47 +01:00
qexception.cpp Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
qexception.h Remove QT_{BEGIN,END}_HEADER macro usage 2013-01-29 01:06:04 +01:00
qfuture.h Remove QT_{BEGIN,END}_HEADER macro usage 2013-01-29 01:06:04 +01:00
qfuture.qdoc Doc: Adding mark-up to boolean default values. 2013-10-08 00:46:27 +02:00
qfutureinterface.cpp QFutureInterface: wrap a pair of {release,reserve}Thread() calls with RAII 2013-09-21 18:39:13 +02:00
qfutureinterface.h Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
qfutureinterface_p.h QFutureInterface: remove unused member variable 'pendingResults' 2013-09-20 23:45:06 +02:00
qfuturesynchronizer.h Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
qfuturesynchronizer.qdoc Doc: Adding mark-up to boolean default values. 2013-10-08 00:46:27 +02:00
qfuturewatcher.cpp Doc: Adding mark-up to boolean default values. 2013-10-08 00:46:27 +02:00
qfuturewatcher.h Remove QT_{BEGIN,END}_HEADER macro usage 2013-01-29 01:06:04 +01:00
qfuturewatcher_p.h
qgenericatomic.h Atomics: implement fetchAndSub on top of fetchAndAdd 2014-03-04 04:34:36 +01:00
qmutex.cpp Use the new 3-operand testAndSet functions in QMutex 2014-04-05 21:47:09 +02:00
qmutex.h Use the new 3-operand testAndSet functions in QMutex 2014-04-05 21:47:09 +02:00
qmutex_linux.cpp Move the creation of QElapsedTimer out of the inner function in QMutex 2013-08-27 03:51:31 +02:00
qmutex_mac.cpp
qmutex_p.h
qmutex_unix.cpp
qmutex_win.cpp threading support for winrt 2013-09-26 17:26:51 +02:00
qmutexpool.cpp
qmutexpool_p.h
qorderedmutexlocker_p.h fix namespaced build 2013-04-25 17:56:26 +02:00
qreadwritelock.cpp Doc: Fix miscellaneous typos 2013-10-30 00:34:34 +01:00
qreadwritelock.h Remove QT_{BEGIN,END}_HEADER macro usage 2013-01-29 01:06:04 +01:00
qreadwritelock_p.h
qresultstore.cpp Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
qresultstore.h Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
qrunnable.cpp Doc: Adding mark-up to boolean default values. 2013-10-08 00:46:27 +02:00
qrunnable.h Remove QT_{BEGIN,END}_HEADER macro usage 2013-01-29 01:06:04 +01:00
qsemaphore.cpp Doc: Adding mark-up to boolean default values. 2013-10-08 00:46:27 +02:00
qsemaphore.h Remove QT_{BEGIN,END}_HEADER macro usage 2013-01-29 01:06:04 +01:00
qthread.cpp Merge remote-tracking branch 'origin/stable' into dev 2013-10-24 12:48:42 +02:00
qthread.h Add an advisory interruption mechanism to QThread. 2013-09-05 08:20:18 +02:00
qthread_p.h Merge remote-tracking branch 'origin/stable' into dev 2014-01-20 18:18:59 +01:00
qthread_unix.cpp Android: Don't register main thread on loading library 2014-01-16 15:41:21 +01:00
qthread_win.cpp WinRT: Use native wait methods instead of std::thread's sleep_for 2014-03-06 17:22:55 +01:00
qthreadpool.cpp QThreadPool: fix race at time of thread expiry. 2013-10-31 17:45:58 +01:00
qthreadpool.h QThreadPool - Add method clear() to remove queued QRunnable. 2013-08-16 15:43:53 +02:00
qthreadpool_p.h QThreadPool: fix race at time of thread expiry. 2013-10-31 17:45:58 +01:00
qthreadstorage.cpp Doc: Adding mark-up to boolean default values. 2013-10-08 00:46:27 +02:00
qthreadstorage.h Remove QT_{BEGIN,END}_HEADER macro usage 2013-01-29 01:06:04 +01:00
qwaitcondition.h expand tabs and related whitespace fixes in *.{cpp,h,qdoc} 2014-01-13 22:46:50 +01:00
qwaitcondition.qdoc Fix some doc errors. 2013-09-21 17:04:41 +02:00
qwaitcondition_unix.cpp Fix typo in qwaitcondition_unix.cpp 2013-09-02 23:13:59 +02:00
qwaitcondition_win.cpp threading support for winrt 2013-09-26 17:26:51 +02:00
thread.pri Remove all "old atomic" code from Qt 2013-12-10 17:55:15 +01:00