Re: Unifying epoll,aio,futexes etc. (What I really want from epoll)

Mark Mielke
2002-11-01T04:21:24Z

On Thu, Oct 31, 2002 at 11:02:15PM +0000, Jamie Lokier wrote:
> The semantics for this are a bit confusing and inconsistent with
> poll(). User gets POLL_RDNORM event which means something in the
> directory has changed, not that the directory is now readable or that
> poll() would return POLL_RDNORM. It really should be a different
> flag, made for the purpose.

Don't be encouraging any of us to expect the ability to poll() for changes
to regular files (log file parsers that sit on EOF periodically polling for
further data...). Just get *something* decent out so that we can play with
it in a production environment. I would put off extensions such as this until
the API is well established.

mark

--
mark@mielke.cc/markm@ncf.ca/markm@nortelnetworks.com __________________________
. . _ ._ . . .__ . . ._. .__ . . . .__ | Neighbourhood Coder
|\/| |_| |_| |/ |_ |\/| | |_ | |/ |_ |
| | | | | \ | \ |__ . | | .|. |__ |__ | \ |__ | Ottawa, Ontario, Canada

One ring to rule them all, one ring to find them, one ring to bring them all
and in the darkness bind them...