merge from dev

This commit is contained in:
daan 2019-08-10 10:26:46 -07:00
commit 6f3bc87dcd
3 changed files with 11 additions and 6 deletions

View file

@ -143,7 +143,7 @@ static void mi_page_thread_free_collect(mi_page_t* page)
mi_thread_free_t tfree;
mi_thread_free_t tfreex;
do {
tfreex = tfree = page->thread_free;
tfree = page->thread_free;
head = mi_tf_block(tfree);
tfreex = mi_tf_set_block(tfree,NULL);
} while (!mi_atomic_compare_exchange((volatile uintptr_t*)&page->thread_free, tfreex, tfree));