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 2020/11/09 12:06:34 UTC

[GitHub] [incubator-nuttx] anchao commented on a change in pull request #2261: sched/timer: remove the CLOCK_REALTIME check

anchao commented on a change in pull request #2261:
URL: https://github.com/apache/incubator-nuttx/pull/2261#discussion_r519759120



##########
File path: sched/timer/timer.h
##########
@@ -50,6 +50,7 @@ struct posix_timer_s
 {
   FAR struct posix_timer_s *flink;
 
+  clockid_t        pt_clock;       /* Specifies the clock to use as the timing base. */

Review comment:
       Hi @davids5 ,
   
   Thanks for review! The naming of pt_clock actually follows the style of Linux kernel, 
   
   https://github.com/torvalds/linux/blob/f8394f232b1eab649ce2df5c5f15b0e528c92091/include/linux/posix-timers.h#L215
   
   So, I prefer the kernel style :)




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

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