mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 11:34:38 +03:00
further fixes to compile on mingw without warnings (issue #217)
This commit is contained in:
parent
0f3bd05fd5
commit
0a3e5bb699
4 changed files with 13 additions and 6 deletions
|
@ -168,7 +168,7 @@ void heap_thread_free_large_worker() {
|
|||
|
||||
void heap_thread_free_large() {
|
||||
for (int i = 0; i < 100; i++) {
|
||||
shared_p = mi_malloc(2*1024*1024 + 1);
|
||||
shared_p = mi_malloc_aligned(2*1024*1024 + 1, 8);
|
||||
auto t1 = std::thread(heap_thread_free_large_worker);
|
||||
t1.join();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue