[Top][All Lists]

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

Re: alternative to poll()

From: Samuel Thibault
Subject: Re: alternative to poll()
Date: Fri, 14 Feb 2014 15:38:46 +0100
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Ryan Lortie, le Fri 14 Feb 2014 07:43:20 -0500, a écrit :
> Is there any sort of kqueue-style interface that Hurd exposes for
> efficient polling of large numbers of file descriptors and/or timers?

Yes. Actually both select() and poll() are based on it, it's simply the
native MIG messages which everything in the Hurd is based on in the
end. You could perhaps have a look at the source code hurdselect.c,
I just warn that it's hairy.  Perhaps would could define an easier
interface for users, inheriting ideas from other kernels, I don't know.


reply via email to

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