I Thought My malloc Was Thread-Safe — I was wrong
I recently built a custom memory allocator in C. What started as a learning exercise turned into something deeper when I tried to make it thread-safe.
At one point everything looked right: locks in pl
under-the-hood.hashnode.dev3 min read