Stelian, any updates on this? Are you planning to apply these patches, or is there something you would like changed?
Vladimir
2009/11/21 Vladimir Sedach vsedach@gmail.com:
Here's a patch that finishes adding the interface to the other multiplexer backends. Now it should be possible to use all of them for simple readiness notification on a set of integer fds.
For example use, take a look at: http://github.com/vsedach/HTTP-DOHC
Vladimir
2009/11/16 Vladimir Sedach vsedach@gmail.com:
Here's a corrected patch for 0005 that supersedes the one in my previous message.
Vladimir
2009/11/16 Vladimir Sedach vsedach@gmail.com:
Hello,
Here are some patches that make it easier to just use the multiplexer object without having to go through the provided event loop/timer machinery. This is done in three steps: make the monitor/harvest etc. methods on multiplexer accept just file descriptors as well as FD-ENTRYs (note that I've only done that for epoll in this set of patches, others to come!), export the handler methods, and add an optional flags parameter to the MONITOR-FD method (really useful for epoll, the other backends I'm not sure about).
Let me know what you think. I'd like to get these patches (or at least the equivalent functionality of being able to use the multiplexer without having to make FD-ENTRYs) into IOlib as I'm about to release some software that uses it.
Thanks, Vladimir