Hi Anton,

It looks like you will need to write a new IO multiplexer
implementation, and add the current epoll or kqueue fd to Glib's file
descriptor set. This is similar to how we integrate a kqueue into the
Core Foundation run loop on Mac OS X, in
io.backend.unix.multiplexers.run-loop.

The relevant functions are documented in
http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html.
Interesting ones include

g_source_new ()
g_source_attach ()
g_source_set_callback ()

Credit goes to Evan Phoenix for pointing me to these functions.

Slava

------------------------------------------------------------------------------

_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to