[PATCH] malloc: Automated part of conversion to __libc_lock
Torvald Riegel
triegel@redhat.com
Mon Sep 5 12:13:00 GMT 2016
On Mon, 2016-08-22 at 14:44 +0200, Florian Weimer wrote:
> 2016-08-22 Florian Weimer <fweimer@redhat.com>
>
> Convert malloc to __libc_lock. Automated part, using this Perl
> s/// command:
> s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
> \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
> * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
> conversion.
LGTM.
More information about the Libc-alpha
mailing list