Re: select() efficiency / epoll

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Tue, 23 Aug 2005, Davy Durham wrote:

Davide Libenzi wrote:

I should mention that the 2.4 patch is old WRT mainline epoll in 2.6 (I
stopped maintaining it when 2.6 went "stable"). I'd definitely suggest to
use 2.6 if you are looking at epoll.
I am using linux-2.6.11 and glibc-2.3.4 .. and using select() in it's place seems to work fine. Are there any known issues with say, one thread does epoll_wait()s while other threads may be doing epoll_ctl()s?
There is no known problem in using epoll_ctl() in one thread while another
does epoll_wait().
I suggest you to ask Valgrind to take a look at you binary. Since I have
no clue of what your software does, please create the *minimal* code
snippet that exploit the eventual problem, and post it.

- Davide

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at
Please read the FAQ at

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux