[zeromq-dev] FYI: Linux clock_* API move from librt to libc

Steven McCoy steven.mccoy at miru.hk
Wed Dec 26 22:04:10 CET 2012


Interesting note in glibg 2.17:

The `clock_*' suite of functions (declared in <time.h>) is now available
  directly in the main C library.  Previously it was necessary to link with
  -lrt to use these functions.  This change has the effect that a
  single-threaded program that uses a function such as `clock_gettime' (and
  is not linked with -lrt) will no longer implicitly load the pthreads
  library at runtime and so will not suffer the overheads associated with
  multi-thread support in other code such as the C++ runtime library.


-- 
Steve-o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20121226/14b4d890/attachment.htm>


More information about the zeromq-dev mailing list