For testing asynchronous communication you don't need threads.
thank you for the answer.
so the way i'm handling it now (two window.show in the same main) is a right way?
is there a better way?
It's ok but don't create two instances of QApplication. One is enough. Your current code would not even compile![]()
Ah yeah sorry I have done some cut and paste for deleting comments and renaming the objects and there was a mistake.. : )
So it is ok, I can test how many TCP package can be sent for a second and stuffs like this, good, thank you!
One more question:
what happens if I use moveToThread methods on a QWidget subclass?
sorry?
boom could mean runtime crash but.. no-op?
anyway thank you for the answer i have understand i don't have to do it.
Yes, boom refers to crashing
no-op is short for "no operation", a term using in computer science to say that an instruction will actually not do anything.
Like an empty method
Cheers,
_
Bookmarks