[Interest] ThreadedFortune example extending to send message forever

Nilesh Kokane nilesh.kokane05 at gmail.com
Fri Sep 9 15:46:43 CEST 2016


On Tue, Sep 6, 2016 at 4:23 PM, Konstantin Shegunov <kshegunov at gmail.com> wrote:
> On Mon, Sep 5, 2016 at 7:17 PM, Nilesh Kokane
>> In the original example, How does disconnectFromHost() triggers
>> readyRead signal?
>
>
> You're blocking the event loop for the thread, so no queued slot invocations
> will be made until you return control to the event loop ... and since you
> don't have one that runs all the time ...
> In the original example, if memory serves me, there's no need to deliver
> slot calls, so there's no need to have a thread event loop.

I see.


> By the way, in the thread you stared on the Qt forum I did provide you with
> a full-fledged working threaded TCP examplethat uses the async API, have you
> looked at it?

Yes, I had a look at it. Thanks for the code.



-- 
          Nilesh Kokane



More information about the Interest mailing list