Add thread name for background threads.

This commit is contained in:
Qi Wang
2017-06-23 09:58:35 -07:00
committed by Qi Wang
parent 52fc887b49
commit a3f4977217
3 changed files with 15 additions and 1 deletions

View File

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