diff options
author | Daniel Micay <danielmicay@gmail.com> | 2014-10-16 21:02:18 (GMT) |
---|---|---|
committer | Jason Evans <je@fb.com> | 2015-03-13 21:07:35 (GMT) |
commit | d6384b09e137874d7cdf527e5bb50abba0ae5f95 (patch) | |
tree | 5ffaeef2a5810500744593dadb8d5c41185f283d /src/mb.c | |
parent | f69e2f6fdab40c7612be5fd69960b8c7d40dba44 (diff) | |
download | jemalloc-d6384b09e137874d7cdf527e5bb50abba0ae5f95.zip jemalloc-d6384b09e137874d7cdf527e5bb50abba0ae5f95.tar.gz jemalloc-d6384b09e137874d7cdf527e5bb50abba0ae5f95.tar.bz2 |
use CLOCK_MONOTONIC in the timer if it's available
Linux sets _POSIX_MONOTONIC_CLOCK to 0 meaning it *might* be available,
so a sysconf check is necessary at runtime with a fallback to the
mandatory CLOCK_REALTIME clock.
Diffstat (limited to 'src/mb.c')
0 files changed, 0 insertions, 0 deletions