From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/1309 Path: news.gmane.org!not-for-mail From: John Spencer Newsgroups: gmane.linux.lib.musl.general Subject: Re: thread local storage Date: Mon, 16 Jul 2012 23:30:01 +0200 Message-ID: <500487D9.4060404@barfooze.de> References: <50046559.3090204@barfooze.de> <50046412.4060609@purdue.edu> <20120716200951.GO544@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1342473623 9433 80.91.229.3 (16 Jul 2012 21:20:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 16 Jul 2012 21:20:23 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-1310-gllmg-musl=m.gmane.org@lists.openwall.com Mon Jul 16 23:20:23 2012 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1SqsiK-0000uI-PZ for gllmg-musl@plane.gmane.org; Mon, 16 Jul 2012 23:20:20 +0200 Original-Received: (qmail 19650 invoked by uid 550); 16 Jul 2012 21:20:19 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 19639 invoked from network); 16 Jul 2012 21:20:19 -0000 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110221 SUSE/3.1.8 Mail/1.0 In-Reply-To: <20120716200951.GO544@brightrain.aerifal.cx> Xref: news.gmane.org gmane.linux.lib.musl.general:1309 Archived-At: On 07/16/2012 10:09 PM, Rich Felker wrote: > > This is broken and non-thread-safe. Not a good idea. Instead try: thanks, very interesting. do you mind if i forward this to the luajit ml ? looks as if this might fix the problem on OSX/OpenBSD as well.