summary refs log tree commit diff stats
path: root/tests/async/tasyncrecursion.nim
diff options
context:
space:
mode:
authorCentury Systems <centurysys@users.noreply.github.com>2023-02-23 03:53:04 +0900
committerGitHub <noreply@github.com>2023-02-22 13:53:04 -0500
commitab1d4a5d58af8452b26f57f244bcd0d39b409c5e (patch)
tree077cfa7ce93fa60811de68a3690779c91dbe667a /tests/async/tasyncrecursion.nim
parent64a788cafb287ace8c63f5e86cb84c520eab3f2a (diff)
downloadNim-ab1d4a5d58af8452b26f57f244bcd0d39b409c5e.tar.gz
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>
Diffstat (limited to 'tests/async/tasyncrecursion.nim')
0 files changed, 0 insertions, 0 deletions
125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179