Re: [patch] total-epoll ( aka full epoll support for poll() enabled devices ) ...

From: Davide Libenzi (davidel@xmailserver.org)
Date: Sat Nov 02 2002 - 13:05:08 EST


On Sat, 2 Nov 2002, bert hubert wrote:

> On Fri, Nov 01, 2002 at 09:13:13PM -0800, Davide Libenzi wrote:
>
> > *) Multi-thread support. The wait interface is changed to :
> >
> > int epoll_wait(int epfd, struct pollfd *events, int maxevents,
> > int timeout);
>
> This means that userspace has to allocate I understand?

Yes, you have to allocate it in userspace.

> > *) Yes, ... it drops an event @ EP_CTL_ADD :)
>
> Thank you :-)

You're welcome, it came for free :)

> > The patch is working fine on my machine but it's very new code.
> > Comments and test reports will be very welcome ...
>
> I'll test. Do you want me to update the manpages to reflect the changes
> above?

Yes, I kind-of-updated the man pages ... but IMO 1) I need more test on it
2) there're still a few things open about the interface to be decided ...

- Davide

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Nov 07 2002 - 22:00:25 EST