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!