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. Marius _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"