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 v2] Make fmtmsg() function to multithread-safe


That patch is wrong.  If addseverity is used to remove or change an
entry (the only possible reason to add this lock) then the string can
be removed as well.  In this case it's not sufficient to just lock
around the search. I checked in a patch fixing that problem.


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