version 1.45, 2018/07/25 20:05:35 |
version 1.46, 2019/03/28 15:05:03 |
Line 704 static chunk_tree_t huge; |
|
Line 704 static chunk_tree_t huge; |
|
* base_pages_alloc() also uses sbrk(), but cannot lock chunks_mtx (doing so |
* base_pages_alloc() also uses sbrk(), but cannot lock chunks_mtx (doing so |
* could cause recursive lock acquisition). |
* could cause recursive lock acquisition). |
*/ |
*/ |
|
#ifdef _REENTRANT |
static malloc_mutex_t brk_mtx; |
static malloc_mutex_t brk_mtx; |
|
#endif |
/* Result of first sbrk(0) call. */ |
/* Result of first sbrk(0) call. */ |
static void *brk_base; |
static void *brk_base; |
/* Current end of brk, or ((void *)-1) if brk is exhausted. */ |
/* Current end of brk, or ((void *)-1) if brk is exhausted. */ |