diff options
| author | Marc Mutz <marc.mutz@kdab.com> | 2012-08-17 10:57:15 +0200 |
|---|---|---|
| committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-17 16:28:01 +0200 |
| commit | 727039c8e832b30775190683bf0aa4c293ddf7cd (patch) | |
| tree | dbf2fe6dc2a8df36b267fac690302d58dead4aa5 /src/widgets/doc/snippets/graphicsview.cpp | |
| parent | d0ae7bef48958eab7f4c8481ffcb1664e91067fc (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 'src/widgets/doc/snippets/graphicsview.cpp')
0 files changed, 0 insertions, 0 deletions
