> None of this is thread-safe. It needs a global mutex lock.
Or have a separate allocation chain for each thread.
It would increase fragmentation, but not by a lot, and probably increase performance by more than enough to make up for it.
Or have a separate allocation chain for each thread.
It would increase fragmentation, but not by a lot, and probably increase performance by more than enough to make up for it.