summaryrefslogtreecommitdiffstats
path: root/header.LGPL-ONLY
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2012-08-17 10:57:15 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-17 16:28:01 +0200
commit727039c8e832b30775190683bf0aa4c293ddf7cd (patch)
treedbf2fe6dc2a8df36b267fac690302d58dead4aa5 /header.LGPL-ONLY
parentd0ae7bef48958eab7f4c8481ffcb1664e91067fc (diff)
QThreadPool: fix race on 'queue' in stealRunnable()
The code under mutex protection already implicitly handles the case where queue.empty(), so just removing the pre-lock check suffices. Change-Id: I01467aff62e61bb4efd16359dd64546ff51c6bad Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'header.LGPL-ONLY')
0 files changed, 0 insertions, 0 deletions