Re: select() efficiency / epoll

Davy Durham
2005-08-23T18:58:42Z

bert hubert wrote:

>On Tue, Aug 23, 2005 at 04:49:14AM -0500, Davy Durham wrote:
>
>
>
>>However, I'm getting segfaults because some pointers in places are
>>getting set to low integer values (which didn't used to have those values).
>>
>>
>
>epoll is pretty heavily benchmarked and hence tested. I don't entirely
>understand the remark above and suggest looking at the generated core dumps.
>
>
>
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.