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

@@ -104,7 +104,7 @@ static prof_alloc_node_t *log_alloc_first = NULL;
static prof_alloc_node_t *log_alloc_last = NULL;
/* Protects the prof_logging_state and any log_{...} variable. */
static malloc_mutex_t log_mtx;
malloc_mutex_t log_mtx;
/******************************************************************************/
/*