04.01.2016, 20:47, "Etienne Sandré-Chardonnal" <etienne.san...@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@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest -- Regards, Konstantin _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest