This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] malloc: Automated part of conversion to __libc_lock


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]