Date: Mon, 21 Dec 2009 23:01:39 +0100 From: Roman Divacky <rdivacky@freebsd.org> To: Marius Strobl <marius@alchemy.franken.de> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, John Baldwin <jhb@freebsd.org> Subject: Re: svn commit: r200797 - head/lib/libc/stdtime Message-ID: <20091221220139.GA84109@freebsd.org> In-Reply-To: <20091221220004.GA42400@alchemy.franken.de> References: <200912211943.nBLJhNUU038425@svn.freebsd.org> <200912211459.21766.jhb@freebsd.org> <20091221220004.GA42400@alchemy.franken.de>
index | next in thread | previous in thread | raw e-mail
On Mon, Dec 21, 2009 at 11:00:04PM +0100, Marius Strobl wrote: > On Mon, Dec 21, 2009 at 02:59:21PM -0500, John Baldwin wrote: > > On Monday 21 December 2009 2:43:23 pm John Baldwin wrote: > > > Author: jhb > > > Date: Mon Dec 21 19:43:23 2009 > > > New Revision: 200797 > > > URL: http://svn.freebsd.org/changeset/base/200797 > > > > > > Log: > > > Use _once() to initialize the pthread key for thread-local storage to hold > > > the results of localtime() instead of using a pthread mutex directly. > > > > It would probably be simpler to use TLS for this instead, but I'm not sure if > > we have working TLS on all supported platforms. > > > > At least not on arm and sparc64 as the in-tree binutils predate > GNU TLS support for these. pardon my ignorance but what exactly is needed in binutils to support TLS? is it just (g)as? or ld too?home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091221220139.GA84109>
