swh:1:snp:673156c31a876c5b99b2fe3e89615529de9a3c44
Revision d4adee7851790dd6949424de083756f49af891db authored by David Faure on 15 March 2013, 18:48:59 UTC, committed by The Qt Project on 23 March 2013, 01:06:47 UTC
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>
1 parent c550a5d
History
Tip revision: ed928cee1233aee003610d5fadb56bdaeffbd7b2 authored by Jake Petroules on 22 September 2016, 17:55:20 UTC
Suppress deprecated warnings for some QSysInfo members
Tip revision: ed928ce
File Mode Size
bin
config.tests
dist
doc
examples
lib
mkspecs
qmake
src
tests
tools
util
.gitattributes -rw-r--r-- 151 bytes
.gitignore -rw-r--r-- 7.0 KB
.qmake.conf -rw-r--r-- 125 bytes
.tag -rw-r--r-- 12 bytes
INSTALL -rw-r--r-- 692 bytes
LGPL_EXCEPTION.txt -rw-r--r-- 1.2 KB
LICENSE.FDL -rw-r--r-- 22.4 KB
LICENSE.GPL -rw-r--r-- 34.3 KB
LICENSE.LGPL -rw-r--r-- 26.2 KB
LICENSE.PREVIEW.COMMERCIAL -rw-r--r-- 30.8 KB
configure -rwxr-xr-x 221.3 KB
configure.bat -rw-r--r-- 3.7 KB
header.BSD -rw-r--r-- 2.0 KB
header.FDL -rw-r--r-- 1.2 KB
header.LGPL -rw-r--r-- 1.9 KB
header.LGPL-ONLY -rw-r--r-- 958 bytes
qtbase.pro -rw-r--r-- 4.5 KB
sync.profile -rw-r--r-- 3.0 KB

back to top