[ejabberd] epoll - 11B-r1 modified patch

Daniel Bartlett dan at f-box.org
Tue Sep 5 19:53:45 MSD 2006


Hi,

Tony Finch wrote:
> On Tue, 5 Sep 2006, Daniel Bartlett wrote:
> 
>> --- erts/acconfig.h	2005-06-21 09:37:40.000000000 -0700
>> +++ erts/acconfig.h	2006-03-10 15:55:12.000000000 -0800
>> @@ -224,7 +227,7 @@
>>
>>  #if !defined(USE_SELECT)
>>  #  if defined(ENABLE_KERNEL_POLL)
>> -#    if defined(HAVE_SYS_DEVPOLL_H) || defined(HAVE_LINUX_KPOLL_H) || defined(HAVE_SYS_EVENT_H)
>> +#    if defined(HAVE_SYS_DEVPOLL_H) || defined(HAVE_LINUX_KPOLL_H) || defined(HAVE_SYS_EVENT_H) || defined(HAVE_LINUX_KPOLL_H)
>>  #      define USE_KERNEL_POLL
>>  #    endif
>>  #  endif
> 
> Shouldn't the addition be HAVE_LINUX_EPOLL_H? (E not K)

I'm not 100% on this but probably, in the comments of the patch there
are some notes about being lazy and setting KPOLL in order to save too
much code change. But in this case it should probably be EPOLL.

I'll look into it.

> 
> Tony.

Cheers,
Dan.


More information about the ejabberd mailing list