summaryrefslogtreecommitdiffstats
path: root/include/jemalloc
diff options
context:
space:
mode:
authorQi Wang <interwq@gwu.edu>2017-06-23 16:58:35 (GMT)
committerQi Wang <interwq@gmail.com>2017-06-23 17:54:54 (GMT)
commita3f4977217af417b547e34cec3f5bd16874b8aa9 (patch)
tree85c1d5f0afa1f999ccf6a10ee215ff4e33a9b329 /include/jemalloc
parent52fc887b49c768a9cee61d9bda9c885efb10fe95 (diff)
downloadjemalloc-a3f4977217af417b547e34cec3f5bd16874b8aa9.zip
jemalloc-a3f4977217af417b547e34cec3f5bd16874b8aa9.tar.gz
jemalloc-a3f4977217af417b547e34cec3f5bd16874b8aa9.tar.bz2
Add thread name for background threads.
Diffstat (limited to 'include/jemalloc')
-rw-r--r--include/jemalloc/internal/jemalloc_internal_defs.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/jemalloc/internal/jemalloc_internal_defs.h.in b/include/jemalloc/internal/jemalloc_internal_defs.h.in
index 2bf9dea..c0f834f 100644
--- a/include/jemalloc/internal/jemalloc_internal_defs.h.in
+++ b/include/jemalloc/internal/jemalloc_internal_defs.h.in
@@ -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.
*/