[RTEMS Project] #4993: Increase FD_SETSIZE to 256

RTEMS trac trac at rtems.org
Tue Feb 20 23:43:41 UTC 2024


#4993: Increase FD_SETSIZE to 256
-------------------------+--------------------------
 Reporter:  Chris Johns  |       Owner:  Chris Johns
     Type:  defect       |      Status:  assigned
 Priority:  highest      |   Milestone:  6.1
Component:  tool/newlib  |     Version:  6
 Severity:  blocker      |  Resolution:
 Keywords:               |  Blocked By:
 Blocking:               |
-------------------------+--------------------------

Comment (by Chris Johns):

 LibBSD `select()` call is https://git.rtems.org/rtems-
 libbsd/tree/freebsd/sys/kern/sys_generic.c?h=6-freebsd-12#n998 and it
 says:
 {{{
 /*
  * The magic 2048 here is chosen to be just enough for FD_SETSIZE
  * infds with the new FD_SETSIZE of 1024, and more than enough for
  * FD_SETSIZE infds, outfds and exceptfds with the old FD_SETSIZE
  * of 256.
  */
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/4993#comment:4>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list