MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / heap_thread_free_huge

Function heap_thread_free_huge

3rd/mimalloc-2.0.9/test/main-override.cpp:250–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

248}
249
250static void heap_thread_free_huge() {
251 for (int i = 0; i < 100; i++) {
252 shared_p = mi_malloc(1024 * 1024 * 1024);
253 auto t1 = std::thread(heap_thread_free_huge_worker);
254 t1.join();
255 }
256}
257
258static void test_mt_shutdown()
259{

Callers 1

mainFunction · 0.85

Calls 3

mi_mallocFunction · 0.85
threadClass · 0.85
joinMethod · 0.45

Tested by

no test coverage detected