Possible cruft cleanup: clock_gettime vs getitimer

Gary E. Miller gem at rellim.com
Mon Feb 17 19:34:12 UTC 2020


Yo Hal!

On Sun, 16 Feb 2020 21:42:59 -0800
Hal Murray via devel <devel at ntpsec.org> wrote:

> wscript says:
>         # MacOS doesn't have timer_create ??
>         ('timer_create', ["signal.h", "time.h"], "RT", False),
> 
> Can a MacOS wizard verify that and/or see what versions do/don't
> support it? Thanks.

I'm not a MacOS wizard, but I can verify that my up to date osX
has no such function.

[...]
Checking for function timer_create                              : no 
[...]

# fgrep timer_create /opt/local/include -R
# 

My linux man page says timer_create() is POSIX 1993, so maybe a missing
feature macro?

       timer_create(): _POSIX_C_SOURCE >= 199309L

But, when I tried to build with git head, I now get this error:

Waf: Leaving directory `/usr/local/src/NTP/ntpsec/build/main'
Fatal Python error: PyThreadState_Get: no current thread
../Do-config-ntpsec: line 11: 13733 Abort trap: 6           ./waf build

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20200217/3be2b658/attachment.bin>


More information about the devel mailing list