Hello,
thanks for answering. Sorry, I might have described it not clear enough.
Tasks that utilize timers and sockets are actually quite separate tasks. I
used the code posted just to show the execution context.
I'll start with tasks using timers. These are executed once in a minute to
do some si
On 01/26/2015 11:56 AM, Dmitriy Purgin wrote:
> Another important thing for me is network. The docs also specify that
> the network module should also follow single thread policy. Does that
> mean that an instance of QTcpSocket can't be used in QRunnable started
> by QThreadPool?
You can only use
On 01/26/2015 11:56 AM, Dmitriy Purgin wrote:
> Hi,
>
> I'm using Qt to power an application server with multithreaded TCP
> listener and maintenence tasks running in separate threads. The TCP
> listener runs in main thread and spawns a separate thread to handle
> socket operation. The socket is be
Hi,
I'm using Qt to power an application server with multithreaded TCP listener
and maintenence tasks running in separate threads. The TCP listener runs in
main thread and spawns a separate thread to handle socket operation. The
socket is being created when the thread is running using a socket
des