summaryrefslogtreecommitdiffstats
path: root/src/ctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ctl.c')
-rw-r--r--src/ctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ctl.c b/src/ctl.c
index 7005988..c3514bd 100644
--- a/src/ctl.c
+++ b/src/ctl.c
@@ -1499,6 +1499,7 @@ background_thread_ctl(tsd_t *tsd, const size_t *mib, size_t miblen,
if (!have_background_thread) {
return ENOENT;
}
+ background_thread_ctl_init(tsd_tsdn(tsd));
malloc_mutex_lock(tsd_tsdn(tsd), &background_thread_lock);
if (newp == NULL) {