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? )