mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 11:34:38 +03:00
merge with dev
This commit is contained in:
commit
493dfc4b82
22 changed files with 321 additions and 147 deletions
|
@ -426,7 +426,7 @@ static void mi_process_done(void) {
|
|||
// C++: use static initialization to detect process start
|
||||
static bool _mi_process_init(void) {
|
||||
mi_process_init();
|
||||
return (mi_main_thread_id != 0);
|
||||
return (_mi_heap_main.thread_id != 0);
|
||||
}
|
||||
static bool mi_initialized = _mi_process_init();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue