[Qt-interest] QThread event loop running in main thread?
Thiago Macieira
thiago at kde.org
Wed Dec 29 13:54:59 CET 2010
On Tuesday, 28 de December de 2010 19:33:12 K. Frank wrote:
> Thiago, could you elaborate on this?
Unforuntately, no. Brad is the one who knows more about this. He explained to
me once, but I don't remember the details.
> What does "moveToThread (this)" do that is different than (or more
> pernicious than) "moveToThread (someThreadOtherThanThis)"?
Well, it's not the current thread. What happens to events that are posted to
this object after the thread has exited?
> What more does it do than I probably think?
>
> I thought I had a good understanding of the Qt threading model,
> but according to my understanding, "moveToThread (this)" is
> technically legitimate. (Whether it's good design or Qt-idiomatic
> would be a separate discussion.) So, given your comments, I'm
> now concerned that my understanding is incorrect.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Product Manager - Nokia, Qt Development Frameworks
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101229/a0f5f2db/attachment.bin
More information about the Qt-interest-old
mailing list