On 24/01/2019 23:07, Black Michael via wsjt-devel wrote:
And where does this serialization take place?  Are you saying it's a default condition of Qt to serialize across event boundaries?

de Mike W9MDB

Mike,

you need to read up on the Qt signal/slot mechanism and how queued signals are processed:

http://doc.qt.io/qt-5/signalsandslots.html

The serialization is done by the Qt meta-type system. Since the Qt meta-type system uses run-time refection it can determine if the receiver of a signal is running in another thread, in which case the connection is made by creating an event on the target thread event queue which includes serialized copies of the signal arguments. Anyway, not relevant here as the compiler resolves same thread non-queued signal to slot connections as function calls by some C++ template magic and the moc pre-compiler tool that augments QObject classes.

73
Bill
G4WJS.



_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to