diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2010-04-19 15:22:35 (GMT) |
---|---|---|
committer | Bradley T. Hughes <bradley.hughes@nokia.com> | 2010-04-19 15:23:32 (GMT) |
commit | dfa8d13a20548c31b56678df517ae38e85fe1384 (patch) | |
tree | f402a4273958b7d388971653a3261cececa3d733 /doc/src/snippets/code/src_script_qscriptcontext.cpp | |
parent | 1f0104850aafcb0e2d6af3fcd4d61ae7073c6e3d (diff) | |
download | Qt-dfa8d13a20548c31b56678df517ae38e85fe1384.zip Qt-dfa8d13a20548c31b56678df517ae38e85fe1384.tar.gz Qt-dfa8d13a20548c31b56678df517ae38e85fe1384.tar.bz2 |
Don't deadlock tst_QThread::exit() and tst_QThread::quit()
Make sure to lock the mutex before starting the threads... otherwise we
run the risk of losing the wakeup between start() and the lock being
acquired.
Reviewed-by: TrustMe
Diffstat (limited to 'doc/src/snippets/code/src_script_qscriptcontext.cpp')
0 files changed, 0 insertions, 0 deletions