mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-24 16:13:38 +03:00
Consistently use malloc_mutex_prefork().
Consistently use malloc_mutex_prefork() instead of malloc_mutex_lock() in all prefork functions.
This commit is contained in:
parent
6556e28be1
commit
f1c3da8b02
3 changed files with 5 additions and 5 deletions
|
|
@ -368,7 +368,7 @@ void
|
|||
chunk_prefork(void)
|
||||
{
|
||||
|
||||
malloc_mutex_lock(&chunks_mtx);
|
||||
malloc_mutex_prefork(&chunks_mtx);
|
||||
if (config_ivsalloc)
|
||||
rtree_prefork(chunks_rtree);
|
||||
chunk_dss_prefork();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue