PDA

View Full Version : reading TCP socket, serialPort & Microusb ports in a single thread.



anupam
17th April 2015, 09:26
Hi Guys,
I have one thread which is reading simultaneously from TCP socket, microusb port & serial port simulteneously,
I have open all these ports in thread's constructor.
But I am getting some delay in all slots which are connected with readyRead signals.

Any idea why it is happening?

anda_skoa
17th April 2015, 10:03
Did you connect to slots defined in the thread class?
If so, did you pass a fifth argument to connect()?

Cheers,
_

Lesiok
17th April 2015, 11:36
What do You mean saying some delay ? Signals in thread are serviced sequentially.