diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2010-04-15 11:55:38 (GMT) |
---|---|---|
committer | Bradley T. Hughes <bradley.hughes@nokia.com> | 2010-04-16 05:50:59 (GMT) |
commit | 13ca61fcfdc53a6a06ae6f409ae0d9e17919336c (patch) | |
tree | 03fd7ab1974c629dbbf5b663c826a5b7bd469650 /src/corelib/global | |
parent | 2913a71672a6cbe3022e167cf9d318beb2f29ee3 (diff) | |
download | Qt-13ca61fcfdc53a6a06ae6f409ae0d9e17919336c.zip Qt-13ca61fcfdc53a6a06ae6f409ae0d9e17919336c.tar.gz Qt-13ca61fcfdc53a6a06ae6f409ae0d9e17919336c.tar.bz2 |
Fix tst_QEventLoop::exec() regression introduced by commit 816523117bc00cfeb17e347f7fe5f11278a5e871
The quitNow flag needs to be reset at the beginning of exec() to allow
exec() to recurse and be run multiple times.
This changes reverts commit 816523117bc00cfeb17e347f7fe5f11278a5e871 an
introduces the QThreadPrivate::exited flag to fix the race between
start() and exit(), and QThreadPrivate::returnCode to make sure exec()
returns the code passed to exit().
Task-number: QTBUG-1184
Reviewed-by: olivier
Diffstat (limited to 'src/corelib/global')
0 files changed, 0 insertions, 0 deletions