Messages in this thread | | | Date | Tue, 23 Aug 2005 12:40:12 -0500 | From | Davy Durham <> | Subject | Re: select() efficiency / epoll |
| |
Jari Sundell wrote:
>On 8/23/05, Davy Durham <pubaddr2@davyandbeth.com> wrote: > > > >I was hoping you would mention in your reply that you knew >epoll_data_t was an union and you didn't touch epoll_data::fd, so i >wouldn't have to say it explicitly. ;) > > > Oh!.. unless the epoll_data_t is a union just for convenience in that it already has an 'int fd' if you want to use that, but don't have to.. that at least makes the void *ptr, useful.. The example in 'man epoll' sorta made it look necessary to set the 'fd' of the union.
But that still doesn't fix the issue of course.. but good to know. - 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/
| |