caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: skaller <skaller@users.sourceforge.net>
To: Florian Weimer <fw@deneb.enyo.de>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Re: Thread Local Storage
Date: Wed, 15 Feb 2006 09:21:29 +1100	[thread overview]
Message-ID: <1139955690.8591.799.camel@rosella.wigram> (raw)
In-Reply-To: <87irrhtya3.fsf@mid.deneb.enyo.de>

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 <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net


  reply	other threads:[~2006-02-14 22:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-13  4:29 [Caml-list] " Jonathan Roewen
2006-02-13 10:05 ` Vincenzo Ciancia
2006-02-14  2:40   ` [Caml-list] " Jonathan Roewen
2006-02-14  4:06     ` skaller
2006-02-14 21:40       ` Florian Weimer
2006-02-14 22:21         ` skaller [this message]
2006-03-01  7:37           ` Florian Weimer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1139955690.8591.799.camel@rosella.wigram \
    --to=skaller@users.sourceforge.net \
    --cc=caml-list@inria.fr \
    --cc=fw@deneb.enyo.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).