diff options
author | Olivier Goffart <olivier.goffart@nokia.com> | 2010-11-24 14:32:23 (GMT) |
---|---|---|
committer | Olivier Goffart <olivier.goffart@nokia.com> | 2010-11-24 15:02:36 (GMT) |
commit | 25c9b6ed488b1446cbdd38186992957264596314 (patch) | |
tree | 75eb8d69df9bd07f93dd1a75dd7d014486b11bd6 /dist | |
parent | 68e5673bb1ca080bbaf5cf7198fcf2deafa60772 (diff) | |
download | Qt-25c9b6ed488b1446cbdd38186992957264596314.zip Qt-25c9b6ed488b1446cbdd38186992957264596314.tar.gz Qt-25c9b6ed488b1446cbdd38186992957264596314.tar.bz2 |
QThread: fix a race condition when destroying or restarting thread from finished()
Since we do not keep the mutex locked in QThreadPrivate::finish,
We could have races if the thread is destroyed or restarted from
another thread while we are still in that function
This solve tst_QCoreApplication::deliverInDefinedOrder on mac
Regression since a43583e0221311b7fe666726a
Reviewed-by: Brad
Diffstat (limited to 'dist')
0 files changed, 0 insertions, 0 deletions