Getting results from subthread to main thread in other way than signals

63 Views Asked by At

It possible to obtain results from the Worker object (QRunnable subclass) in other way than signals? The reason for this is that I don't think (please correct me if I'm wrong) that signals should be used for sending large amounts of data e.g. like dictionaries with COM MailItem objects from outlook which I processed asynchronously with pythoncom.CoInitialize() or big pd.DataFrames. As I understand, the data transfer through signals/slots is slow. Is there a safe way to return the worker object after QThreadpool finished running so I could retrieve the results attached to it?

0

There are 0 best solutions below