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

Function t1main

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

Source from the content-addressed store, hash-verified

200static volatile void* global_p;
201
202static void t1main() {
203 mi_heap_t* heap = mi_heap_new();
204 global_p = mi_heap_malloc(heap, 1024);
205 mi_heap_delete(heap);
206}
207
208static void heap_late_free() {
209 auto t1 = std::thread(t1main);

Callers

nothing calls this directly

Calls 3

mi_heap_newFunction · 0.85
mi_heap_mallocFunction · 0.85
mi_heap_deleteFunction · 0.85

Tested by

no test coverage detected