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

Function mi_tf_set_block

3rd/mimalloc-2.0.9/include/mimalloc-internal.h:585–587  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

583 return mi_tf_make(mi_tf_block(tf),delayed);
584}
585static inline mi_thread_free_t mi_tf_set_block(mi_thread_free_t tf, mi_block_t* block) {
586 return mi_tf_make(block, mi_tf_delayed(tf));
587}
588
589// are all blocks in a page freed?
590// note: needs up-to-date used count, (as the `xthread_free` list may not be empty). see `_mi_page_collect_free`.

Callers 2

_mi_free_block_mtFunction · 0.85

Calls 2

mi_tf_makeFunction · 0.85
mi_tf_delayedFunction · 0.85

Tested by

no test coverage detected