anchao opened a new pull request #2261:
URL: https://github.com/apache/incubator-nuttx/pull/2261


   
   
   ## Summary
   
   sched/timer: remove the CLOCK_REALTIME check 
   
   ## Impact
   
   Reference here:
   https://pubs.opengroup.org/onlinepubs/009695399/functions/timer_create.html
   
   ```
   DESCRIPTION
   ...
     Each implementation shall define a set of clocks that can be
     used as timing bases for per-process timers. All implementations
     shall support a clock_id of CLOCK_REALTIME.
   
     *** If the Monotonic Clock option is supported, implementations shall
     support a clock_id of CLOCK_MONOTONIC. ***
   ...
   
   ```
   Change-Id: Ia8e7302ed4a7e9ec11a0059bd68e9674ea942001
   Signed-off-by: chao.an <[email protected]>
   
   ## Testing
   
   call timer_create(2) with clock id CLOCK_MONOTONIC


----------------------------------------------------------------
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:
[email protected]


Reply via email to