rename to mi_thread_set_in_threadpool

This commit is contained in:
Daan 2025-02-10 20:26:19 -08:00
parent 08ebe070a4
commit 156687ac8b
3 changed files with 5 additions and 6 deletions

View file

@ -205,10 +205,6 @@ mi_heap_t* mi_heap_get_backing(void) {
return bheap;
}
void mi_heap_set_in_threadpool(void) mi_attr_noexcept {
// nothing
}
void _mi_heap_init(mi_heap_t* heap, mi_tld_t* tld, mi_arena_id_t arena_id, bool noreclaim, uint8_t tag) {
_mi_memcpy_aligned(heap, &_mi_heap_empty, sizeof(mi_heap_t));
heap->tld = tld;

View file

@ -547,6 +547,9 @@ void _mi_heap_set_default_direct(mi_heap_t* heap) {
_mi_prim_thread_associate_default_heap(heap);
}
void mi_thread_set_in_threadpool(void) mi_attr_noexcept {
// nothing
}
// --------------------------------------------------------
// Run functions on process init/done, and thread init/done