[Interest] Poor QMethod::invoke performance across threads on i.MX53

Matthew Woehlke mw_triad at users.sourceforge.net
Thu May 28 17:31:10 CEST 2015


On 2015-05-27 18:36, Thiago Macieira wrote:
> On Wednesday 27 May 2015 17:16:54 Matthew Woehlke wrote:
>> Anyway, a more accurate depiction of my case is:
>>
>>   class MyThread : public QObject
>>   {
>>     QThread self;
>>     MyThread() { moveToThread(self); }
>>   }
>>
>> ...where again, it is assumed that MyThread is deleted from a thread
>> other than MyThread::self. Is this approach broken? (I think no? It
>> seems similar to the alternate approach you gave.)
> 
> Again missing the move-back.

Why is a move-back needed? What goes sideways without it?

-- 
Matthew




More information about the Interest mailing list