[Interest] Process isolation with Qt - how to communicate with child processes

Konstantin Tokarev annulen at yandex.ru
Mon Jan 4 18:37:20 CET 2016



04.01.2016, 20:28, "Etienne Sandré-Chardonnal" <etienne.sandre at m4x.org>:
> Thanks to all.
>
> I did not know about QLocalSocket. I will definitely have a look.
>
> Yes, stdin can be used in both blocking and non-blocking mode, but how to avoid polling and callback upon data is available? This would imply running a dedicated thread for blocking read and send a queued signal.

Why do you want to avoid polling? It's quite natural thing when working with asynchronous data sources.
E.g. you can use QSocketNotifier to let QEventLoop do polling for you.

>
> Shared memory will be used only if a bottleneck remains.
>
> Thanks!
>
> Etienne
> ,
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest


-- 
Regards,
Konstantin



More information about the Interest mailing list