[Qt-interest] Qt signaling smarts...
KC Jones
kc at asperasoft.com
Tue Nov 24 19:51:26 CET 2009
> 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.
I have nothing to add re: intra thread signaling, but I will point out
that signal/slot calls, especially queued, imply copying all of the
passed data. So if you have a large volume of data you might need to
transmit it through some other mechanism (file, socket, etc.) and use
the signaling to marshal that resource between threads.
But that's not really the advice what you were asking for...
More information about the Qt-interest-old
mailing list