From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 753ABBBBB for ; Tue, 14 Feb 2006 23:21:48 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id k1EMLl9w013202 for ; Tue, 14 Feb 2006 23:21:48 +0100 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id XAA10676 for ; Tue, 14 Feb 2006 23:21:47 +0100 (MET) Received: from smtp1.adl2.internode.on.net (smtp1.adl2.internode.on.net [203.16.214.181]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id k1EMLj3p029455 for ; Tue, 14 Feb 2006 23:21:46 +0100 Received: from rosella (ppp21-250.lns2.syd7.internode.on.net [59.167.21.250]) by smtp1.adl2.internode.on.net (8.13.5/8.13.5) with ESMTP id k1EMLUmY010235; Wed, 15 Feb 2006 08:51:31 +1030 (CST) (envelope-from skaller@users.sourceforge.net) Subject: Re: [Caml-list] Re: Thread Local Storage From: skaller To: Florian Weimer Cc: caml-list@inria.fr In-Reply-To: <87irrhtya3.fsf@mid.deneb.enyo.de> References: <1139890002.8591.429.camel@rosella.wigram> <87irrhtya3.fsf@mid.deneb.enyo.de> Content-Type: text/plain Date: Wed, 15 Feb 2006 09:21:29 +1100 Message-Id: <1139955690.8591.799.camel@rosella.wigram> Mime-Version: 1.0 X-Mailer: Evolution 2.4.1 Content-Transfer-Encoding: 7bit X-Miltered: at concorde with ID 43F257FB.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 43F257F9.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 pointer:01 stack:01 wrote:01 sourceforge:01 functions:01 precisely:01 tls:01 tls:01 thread:02 thread:02 data:02 florian:02 hack:04 structure:04 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 On Tue, 2006-02-14 at 22:40 +0100, Florian Weimer wrote: > > TLS is entirely a legacy application backwards compatibility hack > > designed to support badly designed C applications. > > TLS helps a lot on a certain register-starved architecture because you > don't need to keep a pointer to the thread data structure around in > case you don't need it (but called functions might). What's wrong with placing it on the stack? [Better not be anything wrong with it .. because Felix actually does precisely that :] -- John Skaller Felix, successor to C++: http://felix.sf.net