On Jul  6 13:19, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote:
> > On Linux, select(2) is really only capable to
> > handle file descriptors numbers up to descriptor number 1023,
> 
> That is not true.  While FD_SETSIZE is defined as a fixed constant,
> Linux kernel does not actually "know" (or care) about it.

$ rpm -q man-pages
man-pages-5.12-2.fc35.noarch
$ man 2 select
[...]
DESCRIPTION
       WARNING: select() can monitor only file descriptors  numbers  that  are
       less  than  FD_SETSIZE (1024)—an unreasonably low limit for many modern
       applications—and this limitation will not change.  All modern  applica‐
       tions  should instead use poll(2) or epoll(7), which do not suffer this
       limitation.
[...]


Corinna

-- 
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