xiaoxiang781216 commented on code in PR #18978:
URL: https://github.com/apache/nuttx/pull/18978#discussion_r3311804524
##########
sched/clock/clock_gettime.c:
##########
@@ -219,6 +219,10 @@ int clock_gettime(clockid_t clock_id, FAR struct timespec
*tp)
{
int ret;
+#ifdef CONFIG_ARCH_HAVE_CLOCKID_TRANSLATE
+ clock_id = up_translate_clockid(clock_id);
Review Comment:
but, why rust tokio pass the macOS(not NuttX) clock id?
--
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]