Function libmimalloc_sys::mi_thread_done

source ยท
pub unsafe extern "C" fn mi_thread_done()
Expand description

Uninitialize mimalloc on a thread.

Should not be used as on most systems (pthreads, windows) this is done automatically. Ensures that any memory that is not freed yet (but will be freed by other threads in the future) is properly handled.

Note: This function is thread safe.