Handle log_mtx during forking

This commit is contained in:
Yinan Zhang
2019-12-20 10:38:05 -08:00
parent ea42174d07
commit 112dc36dd5
3 changed files with 6 additions and 1 deletions

View File

@@ -3,6 +3,8 @@
#include "jemalloc/internal/mutex.h"
extern malloc_mutex_t log_mtx;
void prof_try_log(tsd_t *tsd, size_t usize, prof_info_t *prof_info);
bool prof_log_init(tsd_t *tsdn);
#ifdef JEMALLOC_JET