This is the mail archive of the libc-alpha@sources.redhat.com 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]

Re: malloc patch for 2.2.4


On Wed, Aug 22, 2001 at 12:04:29PM +0200, Andreas Schwab wrote:
> Wolfram Gloger <Wolfram.Gloger@dent.med.uni-muenchen.de> writes:
> 
> |> > Thanks, I've applied the patch.
> |> 
> |> Thanks.  However, I'm still seeing the fork/malloc SMP problem on my
> |> machine... :-(
> 
> I'd guess it's because the compiler has the full right to forget about the
> local variable and reload from the global one anyway.

Guess asm ("" : "=r" (hook) : "0" (hook)); before hook != NULL tests might
cure this though.

	Jakub


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