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

Function dummy_worker

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

issues #414

Source from the content-addressed store, hash-verified

301
302// issues #414
303static void dummy_worker() {
304 void* p = mi_malloc(0);
305 mi_free(p);
306}
307
308static void tsan_numa_test() {
309 auto t1 = std::thread(dummy_worker);

Callers 1

tsan_numa_testFunction · 0.85

Calls 2

mi_mallocFunction · 0.85
mi_freeFunction · 0.85

Tested by

no test coverage detected