jemalloc: explicitly disable pthread_setname_np on freebsd (requires 12.1)

This commit is contained in:
Azat Khuzhin 2020-06-23 05:45:56 +03:00
parent 8b6e2e6c67
commit 5b5ba93523
2 changed files with 4 additions and 2 deletions

View File

@ -84,7 +84,8 @@
#define JEMALLOC_HAVE_PTHREAD_ATFORK #define JEMALLOC_HAVE_PTHREAD_ATFORK
/* Defined if pthread_setname_np(3) is available. */ /* Defined if pthread_setname_np(3) is available. */
#define JEMALLOC_HAVE_PTHREAD_SETNAME_NP // Only since 12.1-STABLE
// #define JEMALLOC_HAVE_PTHREAD_SETNAME_NP
/* /*
* Defined if clock_gettime(CLOCK_MONOTONIC_COARSE, ...) is available. * Defined if clock_gettime(CLOCK_MONOTONIC_COARSE, ...) is available.

View File

@ -84,7 +84,8 @@
#define JEMALLOC_HAVE_PTHREAD_ATFORK #define JEMALLOC_HAVE_PTHREAD_ATFORK
/* Defined if pthread_setname_np(3) is available. */ /* Defined if pthread_setname_np(3) is available. */
#define JEMALLOC_HAVE_PTHREAD_SETNAME_NP // Only since 12.1-STABLE
// #define JEMALLOC_HAVE_PTHREAD_SETNAME_NP
/* /*
* Defined if clock_gettime(CLOCK_MONOTONIC_COARSE, ...) is available. * Defined if clock_gettime(CLOCK_MONOTONIC_COARSE, ...) is available.