In short, glibc malloc is wait-free. In long, You may not know that terminology of "lock-free" does not mean that it does not mean never using locks.
119 karma · joined July 17, 2016
And published as book(in Japanese sorry) http://longgate.co.jp/books/grimoire-vol3.html