linguini1 commented on issue #18648:
URL: https://github.com/apache/nuttx/issues/18648#issuecomment-4166999191
That clarifies all my questions, thanks!
> Real thing is If too many opens occur, `adc_open()` will naturally fail
with `-ENOMEM` when the heap is exhausted. It's more like how many concurrent
opens are realistically supported based on memory and buffering. I’m open to
removing it if it’s not considered useful.
I think it is better to rely on the existing failure mechanisms.
Realistically, I don't see what a user can do with check the max fds member, so
I'm not sure it's useful. That is a very minor detail of your proposal though.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]