Nim/lib/pure/ioselects
Century Systems ab1d4a5d58
ioselectors_epoll: for NuttX, limit initial numFD to configured value. (#21421)
ioselectors: ioselectors_epoll: for NuttX, limit initial numFD to configured value.

In the NuttX build config, there is a setting called "FS_NEPOLL_DESCRIPTORS".

--------
config FS_NEPOLL_DESCRIPTORS
	int "Maximum number of default epoll descriptors for epoll_create1(2)"
	default 8
	---help---
		The maximum number of default epoll descriptors for epoll_create1(2)
--------

For NuttX, change the number of fd arrays allocated by newSelector() to that value.

Signed-off-by: Takeyoshi Kikuchi <kikuchi@centurysys.co.jp>
2023-02-22 13:53:04 -05:00
..
ioselectors_epoll.nim ioselectors_epoll: for NuttX, limit initial numFD to configured value. (#21421) 2023-02-22 13:53:04 -05:00
ioselectors_kqueue.nim attempt to make asynchttpserver better; fixes #15925; [backport:1.0] 2020-11-13 13:03:14 +01:00
ioselectors_poll.nim Embedded Network patches - eventfd & socket getters (#19632) 2022-03-28 12:37:59 +02:00
ioselectors_select.nim Add support for NuttX RTOS. (#21372) 2023-02-16 13:47:52 +01:00