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 2021/07/12 19:48:08 UTC
[GitHub] [incubator-nuttx] xiaoxiang781216 opened a new pull request #4125: libc/sysconf: Add MONOTONIC_CLOCK for consistency
xiaoxiang781216 opened a new pull request #4125:
URL: https://github.com/apache/incubator-nuttx/pull/4125
## Summary
Add _SC_MONOTONIC_CLOCK to sysconf when CONFIG_CLOCK_MONOTONIC is set
## Impact
New functionality
## Testing
--
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
[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #4125: libc/sysconf: Add MONOTONIC_CLOCK for consistency
Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 commented on a change in pull request #4125:
URL: https://github.com/apache/incubator-nuttx/pull/4125#discussion_r667886950
##########
File path: libs/libc/unistd/lib_sysconf.c
##########
@@ -225,6 +225,11 @@ long sysconf(int name)
return 1;
#endif
+#ifdef CONFIG_CLOCK_MONOTONIC
Review comment:
Done.
--
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
[GitHub] [incubator-nuttx] davids5 commented on a change in pull request #4125: libc/sysconf: Add MONOTONIC_CLOCK for consistency
Posted by GitBox <gi...@apache.org>.
davids5 commented on a change in pull request #4125:
URL: https://github.com/apache/incubator-nuttx/pull/4125#discussion_r667869746
##########
File path: libs/libc/unistd/lib_sysconf.c
##########
@@ -225,6 +225,11 @@ long sysconf(int name)
return 1;
#endif
+#ifdef CONFIG_CLOCK_MONOTONIC
Review comment:
Should this be in the format?
```
case _SC_MONOTONIC_CLOCK:
#ifdef CONFIG_CLOCK_MONOTONIC
return 1;
#else
return 0;
#endif
```
--
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
[GitHub] [incubator-nuttx] gustavonihei merged pull request #4125: libc/sysconf: Add MONOTONIC_CLOCK for consistency
Posted by GitBox <gi...@apache.org>.
gustavonihei merged pull request #4125:
URL: https://github.com/apache/incubator-nuttx/pull/4125
--
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