aboutsummaryrefslogtreecommitdiffstats
path: root/include/jemalloc
diff options
context:
space:
mode:
authorQi Wang <interwq@gwu.edu>2017-06-01 12:52:09 -0700
committerQi Wang <interwq@gmail.com>2017-06-01 17:34:49 -0700
commit340071f0cf6902a79102328960f5cf1ced87f3c2 (patch)
treef0f48146273b5b0f3c7c9d671e03cbbe74a9f05c /include/jemalloc
parentc84ec3e9da66162943ee33afe73c7f898fa134e2 (diff)
downloadplatform_external_jemalloc_new-340071f0cf6902a79102328960f5cf1ced87f3c2.tar.gz
platform_external_jemalloc_new-340071f0cf6902a79102328960f5cf1ced87f3c2.tar.bz2
platform_external_jemalloc_new-340071f0cf6902a79102328960f5cf1ced87f3c2.zip
Set isthreaded when enabling background_thread.
Diffstat (limited to 'include/jemalloc')
-rw-r--r--include/jemalloc/internal/background_thread_externs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/jemalloc/internal/background_thread_externs.h b/include/jemalloc/internal/background_thread_externs.h
index a2d95a73..aef1c90b 100644
--- a/include/jemalloc/internal/background_thread_externs.h
+++ b/include/jemalloc/internal/background_thread_externs.h
@@ -20,6 +20,7 @@ void background_thread_postfork_parent(tsdn_t *tsdn);
void background_thread_postfork_child(tsdn_t *tsdn);
bool background_thread_stats_read(tsdn_t *tsdn,
background_thread_stats_t *stats);
+void background_thread_ctl_init(tsdn_t *tsdn);
#ifdef JEMALLOC_PTHREAD_CREATE_WRAPPER
extern int pthread_create_wrapper(pthread_t *__restrict, const pthread_attr_t *,