You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/02/07 17:36:17 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #5418: sched: Implement sysinfo function

xiaoxiang781216 commented on pull request #5418:
URL: https://github.com/apache/incubator-nuttx/pull/5418#issuecomment-1031734069


   > Not disagreeing with this change. Just want to point out that it's a nonportable Linux interface. (Doesn't exist on e.g., BSD.)
   > 
   > In the past I suggested that it is okay to include Linux and BSD APIs that are not in POSIX, but I suggested to add a Kconfig for each:
   > 
   > CONFIG_LINUX_APIS CONFIG_BSD_APIS
   > 
   > To get the Linux and/or BSD APIs, the user would enable one or both of these.
   > 
   > When enabling both, there might be some complications: Some APIs are different across Linux/BSD (different parameters or return types, etc).
   
   There already have many BSD or Linux specific API, it's better to create new PR to do the change in batch.
   


-- 
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: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org