NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: PR/50087 CVS commit: src/lib/libc/stdlib



On Sun, Jul 26, 2015 at 05:25:01PM +0000, Martin Husemann wrote:
>  Module Name:	src
>  Committed By:	martin
>  Date:		Sun Jul 26 17:21:55 UTC 2015
>  
>  Modified Files:
>  	src/lib/libc/stdlib: jemalloc.c
>  
>  Log Message:
>  Defer using pthread keys until we are threaded.
>  From Christos, fixes PR port-arm/50087 by allowing malloc calls prior
>  to libpthread initialization.

This is the wrong approach, IMO. libpthread should not use malloc until
it knows that libc is fully initialized, not the other way around.

Joerg


Home | Main Index | Thread Index | Old Index