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 3119EBBBB for ; Tue, 14 Feb 2006 22:40:12 +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 k1ELeBE1008378 for ; Tue, 14 Feb 2006 22:40:11 +0100 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id WAA10224 for ; Tue, 14 Feb 2006 22:40:10 +0100 (MET) Received: from mail.enyo.de (mail.enyo.de [212.9.189.167]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id k1ELe9OU008372 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Tue, 14 Feb 2006 22:40:10 +0100 Received: from deneb.vpn.enyo.de ([212.9.189.177] helo=deneb.enyo.de) by mail.enyo.de with esmtp id 1F97u3-0003wW-0E; Tue, 14 Feb 2006 22:40:07 +0100 Received: from fw by deneb.enyo.de with local (Exim 4.60) (envelope-from ) id 1F97u0-0006Kj-3Z; Tue, 14 Feb 2006 22:40:04 +0100 From: Florian Weimer To: skaller Cc: Jonathan Roewen , caml-list@inria.fr Subject: Re: [Caml-list] Re: Thread Local Storage References: <1139890002.8591.429.camel@rosella.wigram> Date: Tue, 14 Feb 2006 22:40:04 +0100 In-Reply-To: <1139890002.8591.429.camel@rosella.wigram> (skaller@users.sourceforge.net's message of "Tue, 14 Feb 2006 15:06:42 +1100") Message-ID: <87irrhtya3.fsf@mid.deneb.enyo.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Miltered: at concorde with ID 43F24E3B.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 43F24E39.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 pointer:01 functions:01 tls:01 tls:01 thread:02 thread:02 data:02 florian:02 variables:02 hack:04 structure:04 badly:05 might:10 entirely:11 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 > 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). And you still need some thread-local variables for various management purposes.