acassis commented on PR #17352: URL: https://github.com/apache/nuttx/pull/17352#issuecomment-3557679546
> > > you can't disable signals under POSIX. As much as I like this change and minimizing the footprint of NuttX, this change is against INVIOLABLES.md and it certainly can't be merged without more discussion in the community. > > > > > > I think it should depend on some higher POSIX_PE51 or NOT_POSIX_COMPLIANT config or similar. I think this is good to have the possibility to disable signals and even VFS, as we discussed here: #11390 > > Hi @acassis > > Good idea! It seems we already have options to disable certain POSIX features. Do you think we should take all of these into account when introducing the POSIX_PE51 / NOT_POSIX_COMPLIANT (or similar) configuration you mentioned? > > Do you think it would be better to propose a separate PR dedicated to introducing the POSIX_PE51 / NOT_POSIX_COMPLIANT (or similar) configuration? > > ``` > config DISABLE_POSIX_TIMERS > bool "Disable POSIX timers" > default DEFAULT_SMALL > ---help--- > Disable support for the the entire POSIX timer family > including timer_create(), timer_gettime(), timer_settime(), > etc. > > NOTE: This option will also disable getitimer() and > setitimer() which are not, strictly speaking, POSIX timers. > > config DISABLE_PTHREAD > bool "Disable pthread support" > default DEFAULT_SMALL > > config DISABLE_MQUEUE > bool "Disable POSIX message queue support" > default DEFAULT_SMALL > ``` Yes, I think so! -- 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]
