[Qt-interest] Qt signaling smarts...

Gordon Schumacher gordon at rebit.com
Tue Nov 24 18:54:08 CET 2009


Ack, hit "send" prematurely...

BRM wrote:
> In my actual program, thread1 is going to be generating a lot of data that may go to multiple instances of thread2;
> and I would rather not have to have all that data get crammed through program's main thread and main event loop,
> but instead go directly to the thread2's event loop.

Of course, the first thing to do - before you even think about doing
something so awful as what I suggested - is "run it through a profiler;
until you have, just about anything you do is premature optimization" :)

Unless you're doing something really timing-critical, I'd be a little
surprised if this turned out to be that much of a bottleneck.  (Could be
wrong, though.)



More information about the Qt-interest-old mailing list