mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 19:38:41 +03:00
Merge branch 'dev3' into dev3-bin
This commit is contained in:
commit
2aad74e0c3
16 changed files with 73 additions and 261 deletions
|
@ -97,7 +97,12 @@ const mi_page_t _mi_page_empty = {
|
|||
// may lead to allocation itself on some platforms)
|
||||
// --------------------------------------------------------
|
||||
|
||||
static mi_decl_cache_align mi_subproc_t subproc_main = { 0 }; // note: empty initializer to prevent running the constructor (in C++ compilation)
|
||||
static mi_decl_cache_align mi_subproc_t subproc_main
|
||||
#if __cplusplus
|
||||
= { }; // empty initializer to prevent running the constructor (with msvc)
|
||||
#else
|
||||
= { 0 }; // C zero initialize
|
||||
#endif
|
||||
|
||||
static mi_decl_cache_align mi_tld_t tld_empty = {
|
||||
0, // thread_id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue