> DESCRIPTION
>        WARNING: select() can monitor only file descriptors  numbers  that  are
>        less  than  FD_SETSIZE (1024)-an unreasonably low limit for many modern

Whoever wrote this, was wrong (they might have never consulted the actual 
kernel code, or were just
blindsided by FD_SETSIZE being a predefined constant).  You can take a look at 
the kernel source code,
if you don't believe me.

This select() trick has been like that from the earliest days of Linux, and the 
behavior is carefully carried over.

https://github.com/torvalds/linux/blob/master/fs/select.c#L625

It's just an FYI :-)

Anton Lavrentiev
Contractor NIH/NLM/NCBI


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to