qt6-bb10/src/corelib/thread
Thiago Macieira 3717802653 Small optimisation to recursive mutexes
A recursive mutex operates on top of a non-recursive mutex. Therefore,
we can bypass the test for recursive.

The end result is simply that the compiler can inline the locking and
unlocking a little better inside the lock() and unlock() functions

Change-Id: Ic06d1344ccd411c22cbdef74536f3a4d368d75d7
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
2012-08-26 13:57:58 +02:00
..
qatomic.cpp Doc: Add \inmodule QtCore to all QtCore class doc bodies 2012-08-23 13:22:23 +02:00
qatomic.h QAtomic: make ctors constexpr, if possible 2012-08-20 16:58:36 +02:00
qbasicatomic.h QBasicAtomic: add QT_BASIC_ATOMIC_HAS_CONSTRUCTORS macro 2012-08-20 16:58:32 +02:00
qgenericatomic.h Add Q_DECL_CONSTEXPR to the isXXX functions in the new atomics. 2012-08-18 18:35:36 +02:00
qmutex.cpp Small optimisation to recursive mutexes 2012-08-26 13:57:58 +02:00
qmutex.h Mark mutex locking and unlocking functions with noexcept 2012-08-25 10:35:26 +02:00
qmutex_linux.cpp Split the futexFlags() function in two: a hot and a cold path 2012-08-25 10:35:34 +02:00
qmutex_mac.cpp Mark mutex locking and unlocking functions with noexcept 2012-08-25 10:35:26 +02:00
qmutex_p.h Mark mutex locking and unlocking functions with noexcept 2012-08-25 10:35:26 +02:00
qmutex_unix.cpp Mark mutex locking and unlocking functions with noexcept 2012-08-25 10:35:26 +02:00
qmutex_win.cpp Mark mutex locking and unlocking functions with noexcept 2012-08-25 10:35:26 +02:00
qmutexpool.cpp Doc: Add \inmodule QtCore to all QtCore class doc bodies 2012-08-23 13:22:23 +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: Add \inmodule QtCore to all QtCore class doc bodies 2012-08-23 13:22:23 +02:00
qreadwritelock.h Fix a ### Qt5 issue: remove limits.h from qreadwritelock.h 2012-08-13 09:33:33 +02:00
qreadwritelock_p.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qrunnable.cpp Doc: Add \inmodule QtCore to all QtCore class doc bodies 2012-08-23 13:22:23 +02:00
qrunnable.h Move QtConcurrent into its own module 2012-02-05 17:49:16 +01:00
qsemaphore.cpp Doc: Add \inmodule QtCore to all QtCore class doc bodies 2012-08-23 13:22:23 +02:00
qsemaphore.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qthread.cpp Doc: Add \inmodule QtCore to all QtCore class doc bodies 2012-08-23 13:22:23 +02:00
qthread.h Mark simple static methods in QThread as Q_DECL_NOTHROW 2012-08-18 08:34:53 +02:00
qthread_p.h Add the quitlock feature to QThread. 2012-02-23 15:07:58 +01:00
qthread_unix.cpp Use nanosleep instead of pthread_cond_timedwait for thread sleeping 2012-08-25 05:41:14 +02:00
qthread_win.cpp Mark simple static methods in QThread as Q_DECL_NOTHROW 2012-08-18 08:34:53 +02:00
qthreadpool.cpp Doc: Add \inmodule QtCore to all QtCore class doc bodies 2012-08-23 13:22:23 +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: Add \inmodule QtCore to all QtCore class doc bodies 2012-08-23 13:22:23 +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: Add \inmodule QtCore to all QtCore class doc bodies 2012-08-23 13:22:23 +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