Closed JackYangzg closed 2 years ago
My program has mutil threads, I want to using hs_set_allocator to set thread private alloctor.
Can I using hs_set_allocator init the thread and not affect the other thread.
It's not thread safe, as this function will modify global allocators for various data objects.
My program has mutil threads, I want to using hs_set_allocator to set thread private alloctor.
Can I using hs_set_allocator init the thread and not affect the other thread.