[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

alternative to poll()

From: Ryan Lortie
Subject: alternative to poll()
Date: Fri, 14 Feb 2014 07:43:20 -0500


I asked this question on #hurd and someone suggested I post here.

Pretty much every OS kernel these days has a modern day replacement to
poll() that doesn't involve a linear scan.  *BSD/MacOS has kqueue, Linux
has epoll, Illumos has ports, Windows has IOCP.

I'm trying to pull GLib into the last decade by including support for
these features, but in my round-up of OSes-that-I-care-about I wasn't
able to find any information about a similar interface for Hurd.

Is there any sort of kqueue-style interface that Hurd exposes for
efficient polling of large numbers of file descriptors and/or timers?

Thanks in advance.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]