On Mon, 02 Jan 2023, Greg Troxel <g...@lexort.com> wrote: > Maxime Devos <maximede...@telenet.be> writes: > >>> epoll is as I understand it linux only so that's not a reasonable >>> dependency. fibers now works with libevent which wraps multiple >>> faclilities and is thus pretty portable. >> >> Guile-Fibers still uses epoll on Linux, on other systems it uses libevent. > > Understood - I just meant that fibers is now (at least 99% of the way) > to "broadly portable". > > I don't know the details of Olivier's question and libevent, but would > suggest that libevent does the sort of things that are needed and is the > standard portable approach and is thus worth a hard look as the > presumptive right answer, absent something better that only relies on > what POSIX requires (and what's on Hurd :-).
Hmm from a description I see on Guix, libev has relative timers. I don't know if it's portable like libevent though. Will look at both thanks! -- Olivier Dion oldiob.dev