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



The following reply was made to PR port-arm/50087; it has been noted by GNATS.

From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: port-arm-maintainer%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
	netbsd-bugs%netbsd.org@localhost, martin%NetBSD.org@localhost
Subject: Re: PR/50087 CVS commit: src/lib/libc/stdlib
Date: Sun, 9 Aug 2015 18:44:12 +0200

 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