[gambit-list] Is long poll for activity on external file descriptors without Gambit reading data currently doable, and if so, how?

Mikael More mikael.more at gmail.com
Tue Sep 2 16:26:40 EDT 2008


Hi!

Is there any way to make Gambit's scheduler trig an event when there is
activity on external file descriptors, for instance as provided by
curl_multi_fdset ( http://curl.haxx.se/libcurl/c/curl_multi_fdset.html ) of
libCurl multi ( http://curl.haxx.se/libcurl/c/libcurl-multi.html )?

The question was raised in 2004 (
https://webmail.iro.umontreal.ca/pipermail/gambit-list/2004-November/000023.html),
at that time without answer.

What is the current answer to this question, is there any elegant way to
have Gambit monitor a set of external file descriptors, and trig an event
handler on event?

( There has been a quite extensive related discussion over the years, and
one interesting instance was when Allan Langley published a libevent patch
for Gambit,
https://webmail.iro.umontreal.ca/pipermail/gambit-list/2005-August/000382.html.
Allan has personally not continued developing this respect of Gambit.
Has
someone else? Ought Allan's code work in the current Gambit version? )

Regards
Mikael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20080902/4bd3e21e/attachment.htm>


More information about the Gambit-list mailing list