mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 11:34:38 +03:00
merge from dev
This commit is contained in:
commit
88990cec2d
7 changed files with 59 additions and 14 deletions
|
@ -134,7 +134,7 @@ extern mi_heap_t _mi_heap_main;
|
|||
static mi_decl_cache_align mi_subproc_t mi_subproc_default;
|
||||
|
||||
static mi_decl_cache_align mi_tld_t tld_main = {
|
||||
0,
|
||||
0,
|
||||
&_mi_heap_main, &_mi_heap_main,
|
||||
&mi_subproc_default, // subproc
|
||||
0, // tseq
|
||||
|
@ -241,7 +241,7 @@ mi_heap_t* _mi_heap_main_get(void) {
|
|||
// Thread sequence number
|
||||
static _Atomic(size_t) mi_tcount;
|
||||
|
||||
// The mimalloc thread local data
|
||||
// The mimalloc thread local data
|
||||
mi_decl_thread mi_tld_t* mi_tld;
|
||||
|
||||
// Allocate fresh tld
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue