Detect monotonic condvar support at configure time

This commit is contained in:
Antonio Andelic 2026-07-14 07:38:49 +02:00 committed by Guangli Dai
parent ebacec3a1a
commit 8361239b03
3 changed files with 87 additions and 46 deletions

View file

@ -97,6 +97,9 @@
/* Defined if pthread_get_name_np(3) is available. */
#undef JEMALLOC_HAVE_PTHREAD_GET_NAME_NP
/* Defined if pthread_condattr_setclock(..., CLOCK_MONOTONIC) is available. */
#undef JEMALLOC_HAVE_PTHREAD_COND_TIMEDWAIT_MONOTONIC
/*
* Defined if clock_gettime(CLOCK_MONOTONIC_COARSE, ...) is available.
*/