Re: select() efficiency / epoll

Davy Durham
2005-08-23T19:22:10Z

That's probably a good idea. Where would I find out what other projects
use it?

Willy Tarreau wrote:

>Hi,
>
>On Tue, Aug 23, 2005 at 06:01:15AM -0500, Davy Durham wrote:
>
>
>>I just mean that when I debug and catch the segv, it's dies because
>>some pointers now have corrupted values. (usually because something is
>>overwriting some memory some where)
>>
>>I'm currently re-writing some code to make it use select() instead of
>>epoll_wait() and see if everything is suddently fixed. If so, then I
>>will suspect that epoll has a problem. But it's still not ruled out
>>being my fault since it could be a timing issue that makes the crash
>>show up.
>>
>>
>
>Just out of curiosity, have you had the opportunity to read some other
>code which uses epoll ? Maybe reading others code could enlighten you
>on potential bugs in your code, potential races, etc...
>
>Regards,
>Willy
>
>