You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "pkarashchenko (via GitHub)" <gi...@apache.org> on 2023/03/10 08:38:08 UTC

[GitHub] [nuttx] pkarashchenko commented on a diff in pull request #8786: sig_timewait:changes the macro for waitticks

pkarashchenko commented on code in PR #8786:
URL: https://github.com/apache/nuttx/pull/8786#discussion_r1132089181


##########
sched/signal/sig_timedwait.c:
##########
@@ -319,7 +323,7 @@ int nxsig_timedwait(FAR const sigset_t *set, FAR struct siginfo *info,
            * time in nanoseconds.
            */
 
-#ifdef CONFIG_HAVE_LONG_LONG
+#ifdef CONFIG_SYSTEM_TIME64
           uint64_t waitticks64 = ((uint64_t)timeout->tv_sec * NSEC_PER_SEC +
                                   (uint64_t)timeout->tv_nsec +
                                   NSEC_PER_TICK - 1) /

Review Comment:
   Most probably `waitticks64` now is not needed.



-- 
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