qt5base-lts/src
David Faure d4adee7851 Fix race condition in QThread::setPriority
The value of priority was read without the mutex locked, from within
the thread.

Had to extract a QThreadPrivate::setPriority method so that it can be called
with the mutex already locked. So if the main thread calls setPriority
while the thread is starting, it will be either be before or after the
"re-set priority" code at thread startup, but at least not in the middle of it.

Change-Id: I7a054f68623f61482c749274da66f3b2dcd8bcee
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
2013-03-23 02:06:47 +01:00
..
3rdparty Do not use JIT for pcre on QNX 2013-03-14 19:49:38 +01:00
android Use qtproject instead of necessitas for default package name 2013-03-22 19:52:26 +01:00
angle Merge remote-tracking branch 'gerrit/release' into stable 2013-03-21 08:49:01 +01:00
concurrent Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
corelib Fix race condition in QThread::setPriority 2013-03-23 02:06:47 +01:00
dbus Fix wildcard signal disconnection in QDBusAbstractInterface 2013-03-19 07:03:25 +01:00
gui Remove unused private members 2013-03-23 01:56:06 +01:00
network SSL code: store SSL parameters for debugging, guarded by define 2013-03-22 19:52:26 +01:00
opengl Remove unused private members 2013-03-23 01:56:06 +01:00
openglextensions Make sure that we #include qconfig.h before testing for features. 2013-03-19 07:02:57 +01:00
platformsupport Remove unused private members 2013-03-23 01:56:06 +01:00
plugins Inform android input method when cursor is moved 2013-03-22 19:52:26 +01:00
printsupport Make sure that we #include qconfig.h before testing for features. 2013-03-19 07:02:57 +01:00
sql ODBC: lost info about column metadata on SQL_NO_DATA 2013-03-20 23:30:43 +01:00
testlib Fix error in XML and Xunit formatted benchmark output. 2013-03-22 12:59:01 +01:00
tools qdoc: List of all members subpage redesigned 2013-03-22 12:13:23 +01:00
widgets Remove unused private fields in a class used for anti-flicker workaround 2013-03-23 01:56:00 +01:00
winmain fix path adjustments in installed metafiles 2013-01-30 15:43:00 +01:00
xml Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
src.pro don't bootstrap tools when not necessary 2013-03-14 19:49:38 +01:00