malloc patch for 2.2.4
Daniel Jacobowitz
drow@mvista.com
Tue Aug 21 09:53:00 GMT 2001
On Tue, Aug 21, 2001 at 03:55:19PM -0000, Wolfram Gloger wrote:
> Hi,
>
> Argh, if the following is the cause for the strange SMP crashes
> (haven't yet checked), well, I'll just hide somewhere..
>
> Regards,
> Wolfram.
>
> 2001-08-21 Wolfram Gloger <wg@malloc.de>
>
> * malloc/malloc.c: Make access to ..._hook pointers thread-safe.
Would you mind explaining how this improves thread safety? It's not as
if you're trying to keep the hook value consistent across some other
event; each hook is called once. And in fact, I can see it still being
thread-unsafe if copying a function pointer is non-atomic. Isn't that
the case on, say, ia64?
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer
More information about the Libc-alpha
mailing list