diff options
author | Morten Johan Sørvig <morten.sorvig@nokia.com> | 2010-02-26 07:20:58 (GMT) |
---|---|---|
committer | Morten Johan Sørvig <morten.sorvig@nokia.com> | 2010-02-26 13:31:07 (GMT) |
commit | f36a907c40ebe6e22af141946ab8ef405ce3efb8 (patch) | |
tree | 56edf2baf96b0971974fe2f57cbdcafc5ea89bd5 /doc/src/snippets/code/src_script_qscriptvalue.cpp | |
parent | 7ce54e9cc4b35d16c32f4dfc5875038797731f2f (diff) | |
download | Qt-f36a907c40ebe6e22af141946ab8ef405ce3efb8.zip Qt-f36a907c40ebe6e22af141946ab8ef405ce3efb8.tar.gz Qt-f36a907c40ebe6e22af141946ab8ef405ce3efb8.tar.bz2 |
Fix deadlock in QFSEventsFileSystemWatcherEngine.
Task: QTBUG-8522
6130b2137 makes stop() synchronize and wait for
the worker thread to reach the end of run().
stop() was however called from the worker thread
itself in updateFiles(), leading to a deadlock.
Add the stopFSStream and CFRunLoopStop calls
directly to updateFiles(), don't wait on waitForStop.
Diffstat (limited to 'doc/src/snippets/code/src_script_qscriptvalue.cpp')
0 files changed, 0 insertions, 0 deletions