Re: [rfc] epoll interface change and glibc bits ...

From: Davide Libenzi (davidel@xmailserver.org)
Date: Mon Nov 18 2002 - 11:15:39 EST


On Mon, 18 Nov 2002, Jakub Jelinek wrote:

> On Mon, Nov 18, 2002 at 08:05:32AM -0800, Davide Libenzi wrote:
> >
> > 1) epoll's event structure extension
> >
> > I received quite a few request to extend the event structure to have space
> > for an opaque user data object. The eventpoll event structure will turn to
> > be :
> >
> > struct epollfd {
> > int fd;
> > unsigned short int events, revents;
> > unsigned long obj;
>
> Cannot this be uint64_t obj; ?
> Have mercy with 32<->64 bit translation layers in the kernel.

Maybe this :

typedef void *epoll_obj_t;

- 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 : Sat Nov 23 2002 - 22:00:22 EST