Hi all
I wrote a patch to centralize the use of select in the runloop. Instead of the triplet

listen_to_servers
listen_to_pipes
listen_to_sockets

I wrote a function

perform_select

which looks at registered descriptors and eventually call suitable callbacks to handle the data.

The structure of the new code is such that in the Qt port we can use QSocketNotifier to be notified on incoming data instead of polling actively in the interpose_handler.
This however is still not implemented.

Comments are welcome.


Best,
Massimiliano

Attachment: notifier.patch
Description: Binary data

_______________________________________________
Texmacs-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/texmacs-dev

Reply via email to