Add pthread_atfork(3) feature test.

Some versions of Android provide a pthreads library without providing
pthread_atfork(), so in practice a separate feature test is necessary
for the latter.
This commit is contained in:
Jason Evans
2016-11-17 15:14:57 -08:00
parent fda60be799
commit 5234be2133
3 changed files with 14 additions and 2 deletions

View File

@@ -79,6 +79,9 @@
*/
#undef JEMALLOC_HAVE_ISSETUGID
/* Defined if pthread_atfork(3) is available. */
#undef JEMALLOC_HAVE_PTHREAD_ATFORK
/*
* Defined if clock_gettime(CLOCK_MONOTONIC_COARSE, ...) is available.
*/