Do we require clock_gettime()?

Hal Murray hmurray at megapathdsl.net
Mon Nov 25 11:57:16 UTC 2019


>From devel/hacking:

Only POSIX-1.2001/SUSv3 library functions should be used (a few
specific exceptions are noted below).  If a library
function not in that standard is required, then a wrapper function for backward
compatibility must be provided.  One notable case is clock_gettime()
which is used, when available, for increased accuracy, and has a
fallback implementation using native time calls.

--------

I haven't found any hints of a fallback mechanism in the current code.
 

-- 
These are my opinions.  I hate spam.





More information about the devel mailing list