Ensure that main thread processes worker data events
authorMatthew Vogt <matthew.vogt@nokia.com>
Wed, 23 May 2012 05:52:31 +0000 (15:52 +1000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 24 May 2012 00:36:05 +0000 (02:36 +0200)
commit959fd59bd5bb72dde5db4975443c69045ea2fe53
tree5fa886ced2c86fb2016f04aa384d65466305fd40
parentaec58840dad0d94fe0b111dc172afc2f7ee25023
Ensure that main thread processes worker data events

If the main thread goes into a wait for the worker thread before
the worker thread posts the event that triggers the main thread to
process generated data, deadlock results.

Change-Id: I3788acef73e82aa96f2b86bcb48933d01ae86841
Reviewed-by: Chris Adams <christopher.adams@nokia.com>
Reviewed-by: Yunqiao Yin <charles.yin@nokia.com>
src/qml/qml/qquickworkerscript.cpp