qt6-bb10/src/corelib/thread
Bradley T. Hughes 88da8b4878 QMutex: de-inline lock(), unlock(), and tryLock()
See the discussion of this topic on the mailing list:
http://lists.qt-project.org/pipermail/development/2012-May/003943.html

The consensus is to not have these methods have inline code to actually
acquire the lock (i.e. no atomic test-and-set or similar). QBasicMutex
is unchanged, and continues to have inlined lock(), tryLock(), and
unlock(). QMutexLocker has been changed to always call QMutex::lock()
(even though the constructor takes a QBasicMutex parameter).

Change-Id: Ic7d2d9d581e6b254c84fdfdd8ce6c425535a8078
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2012-05-29 07:35:31 +02:00
..
qatomic.cpp Doc: Prepare for building modular QtCore docs. 2012-04-19 07:34:53 +02:00
qatomic.h Doc: Prepare for building modular QtCore docs. 2012-04-19 07:34:53 +02:00
qbasicatomic.h Split Q_COMPILER_DEFAULT_DELETE_MEMBERS 2012-05-15 04:57:05 +02:00
qgenericatomic.h Make loadAcquire const. 2012-02-29 19:11:54 +01:00
qmutex.cpp QMutex: de-inline lock(), unlock(), and tryLock() 2012-05-29 07:35:31 +02:00
qmutex.h QMutex: de-inline lock(), unlock(), and tryLock() 2012-05-29 07:35:31 +02:00
qmutex_linux.cpp Work around Android not having SYS_futex. 2012-05-02 17:55:22 +02:00
qmutex_mac.cpp Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qmutex_p.h Rename Q_MUTEX_LINUX to QT_LINUX_FUTEX 2012-02-21 13:52:52 +01:00
qmutex_unix.cpp Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qmutex_win.cpp Windows: Fix inclusion of <windows.h> 2012-02-01 11:06:19 +01:00
qmutexpool.cpp Doc: Prepare for building modular QtCore docs. 2012-04-19 07:34:53 +02:00
qmutexpool_p.h Cleanup QThread::initialize and QThread::cleanup 2012-03-06 17:18:50 +01:00
qoldbasicatomic.h Remove qatomic_arch.h 2012-02-13 22:15:40 +01:00
qorderedmutexlocker_p.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qreadwritelock.cpp Doc: Prepare for building modular QtCore docs. 2012-04-19 07:34:53 +02:00
qreadwritelock.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qreadwritelock_p.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qrunnable.cpp Move QtConcurrent into its own module 2012-02-05 17:49:16 +01:00
qrunnable.h Move QtConcurrent into its own module 2012-02-05 17:49:16 +01:00
qsemaphore.cpp Doc: Prepare for building modular QtCore docs. 2012-04-19 07:34:53 +02:00
qsemaphore.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qthread.cpp Doc: Prepare for building modular QtCore docs. 2012-04-19 07:34:53 +02:00
qthread.h Cleanup QThread::initialize and QThread::cleanup 2012-03-06 17:18:50 +01:00
qthread_p.h Add the quitlock feature to QThread. 2012-02-23 15:07:58 +01:00
qthread_unix.cpp Guard some pthread API with the appropriate POSIX check, or Android. 2012-05-04 15:24:52 +02:00
qthread_win.cpp Doc: Prepare for building modular QtCore docs. 2012-04-19 07:34:53 +02:00
qthreadpool.cpp Doc: Prepare for building modular QtCore docs. 2012-04-19 07:34:53 +02:00
qthreadpool.h QThreadPool: unify waitForDone() overloads 2012-04-17 18:44:13 +02:00
qthreadpool_p.h QThreadPool: unify waitForDone() overloads 2012-04-17 18:44:13 +02:00
qthreadstorage.cpp Doc: Prepare for building modular QtCore docs. 2012-04-19 07:34:53 +02:00
qthreadstorage.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qwaitcondition.h Change the parameter name of the mutex in a QWaitCondition. 2012-04-04 20:11:09 +02:00
qwaitcondition.qdoc Doc: Prepare for building modular QtCore docs. 2012-04-19 07:34:53 +02:00
qwaitcondition_unix.cpp Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qwaitcondition_win.cpp Windows: Fix inclusion of <windows.h> 2012-02-01 11:06:19 +01:00
thread.pri Use standard unix mutexes on LSB 2012-02-20 11:45:01 +01:00