Hi Daniel

It is clear to me.
Thanks for your reply! 

Best,
Kany


<daniel.salzman@nic.cz>於 2018年4月19日 週四,下午2:35寫道:
Hi,

If I remember correctly, the primary reason for replacing select with
poll
was the maximum number of descriptors supported by select, which is
1024.
Epoll is Linux specific and we try to support also other platforms
(BSD).
However, I will measure the difference whether it's worth using epoll in
this case.

Best,
Daniel

On 2018-04-19 05:24, 楊智鈞 wrote:
> Hi
> I have a question about this commit
> “01b00cc47efe”
> Replace select() by poll()?
> The performance of epoll is better then select/poll when monitoring
> large numbers of file descriptions.
> Could you please let me why you choose poll()?
> Thanks for your reply!