Hi, On Thursday 11 June 2009, Norbert Nemec wrote: > Also, I am not fully content with the idling loop that is running to > catch socket communications.
Just a comment here: busy polling (on sockets, for timers, ...) in user space never should be needed. On Unix, the select() system call allows to wait for arbitrary file descriptors to become ready, including sockets, and has a timeout to allow for the implementation of timers. I am quite sure that Qt internally uses this. To wait on sockets in Qt (data to read available, error condition, ...) with the standard event loop (thus, without polling), use QSocketNotifier. And any "texmacs internal timers" should be based on QTimer. Josef _______________________________________________ Texmacs-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/texmacs-dev
