mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 11:34:38 +03:00
strengthen memory order of bit operations; insert memory fences
This commit is contained in:
parent
a9f46dc86f
commit
a468430772
4 changed files with 10 additions and 8 deletions
|
@ -189,7 +189,7 @@ static void test_stress(void) {
|
|||
}
|
||||
}
|
||||
// mi_collect(false);
|
||||
#ifndef NDEBUG
|
||||
#if !defined(NDEBUG) || defined(MI_TSAN)
|
||||
if ((n + 1) % 10 == 0) { printf("- iterations left: %3d\n", ITER - (n + 1)); }
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue