lkml.org 
[lkml]   [2005]   [Aug]   [24]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 23 Aug 2005 22:09:17 -0700 (PDT)
FromDavide Libenzi <>
SubjectRe: select() efficiency / epoll
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 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/

\
 
 \ /
  Last update: 2005-08-24 07:13    [from the cache]
©2003-2008