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

Function mi_pthread_done

3rd/mimalloc-2.0.9/src/init.c:392–394  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

390 // (and used with MI_TLS_PTHREADS for the default heap)
391 pthread_key_t _mi_heap_default_key = (pthread_key_t)(-1);
392 static void mi_pthread_done(void* value) {
393 if (value!=NULL) _mi_thread_done((mi_heap_t*)value);
394 }
395#elif defined(__wasi__)
396// no pthreads in the WebAssembly Standard Interface
397#else

Callers

nothing calls this directly

Calls 1

_mi_thread_doneFunction · 0.85

Tested by

no test coverage detected