News for hackers. Stuff that matters.
Re:A Wait-Free Stack by cjensen on Sunday July 17, 2016 @10:56PM (#12113016)
Malloc can be lock free if you add a thread which wakes up periodically and ensures there is free memory available.

Also, any algorithm can be made mostly malloc free if you keep a freelist instead of freeing memory. Malloc will then only be called enough times to fill the max utilization.

There are no comments on this comment yet.