Compare commits

...

2 commits

Author SHA1 Message Date
Eduard Voronkin
63ea420bd1
Merge 1cede1c9ee into bc8eca8bf2 2025-04-02 16:13:26 -07:00
Eduard Voronkin
1cede1c9ee init main heap 2025-03-31 21:33:07 -07:00

View file

@ -207,6 +207,7 @@ static void mi_heap_main_init(void) {
if (_mi_heap_main.cookie == 0) {
_mi_heap_main.thread_id = _mi_thread_id();
_mi_heap_main.cookie = 1;
mi_thread_init();
#if defined(_WIN32) && !defined(MI_SHARED_LIB)
_mi_random_init_weak(&_mi_heap_main.random); // prevent allocation failure during bcrypt dll initialization with static linking
#else