Re: select() efficiency / epoll

Jari Sundell
2005-08-23T20:42:53Z

On 8/23/05, Davy Durham <pubaddr2@davyandbeth.com> wrote:

> Yes, that is what I was thinking and is why I mentioned that. But I'm
> apparently not overwriting the pointers with FDs.. it seems that epoll
> is the cause at this point (unless I'm misusing the epoll API). I've
> made some changes to now use select() instead of epoll and things work
> flawlessly (although it obviously won't work as efficiently when I
> really connect a lot of clients to this server)

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. ;)

--
Rakshasa

Nyaa?