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

Konstantin Tokarev annulen at yandex.ru
Mon Jan 4 19:56:26 CET 2016



04.01.2016, 20:47, "Etienne Sandré-Chardonnal" <etienne.sandre at m4x.org>:
> This is probably a superstitious/religious belief, I do not like polling due to the latency/overhead tradeoff that you have to make anyway. Here I need fairly low latency (about 50ms) so the polling should be at that interval at most.

Oh, do you mean polling as in reading from fd every 50ms?
I've meant polling as in poll(2).


>
> Also, I would bet that QSocketNotifier does not work with stdin, but I may be wrong.
>
>> 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.
> ,
>
> _______________________________________________
> 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