[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Texmacs-dev] socket notifiers
From: |
Gubinelli Massimiliano |
Subject: |
[Texmacs-dev] socket notifiers |
Date: |
Fri, 12 Jun 2009 17:24:05 +0200 |
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
notifier.patch
Description: Binary data
- [Texmacs-dev] socket notifiers,
Gubinelli Massimiliano <=