Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Thread Local Storage
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-02-14 (22:21)
From: skaller <skaller@u...>
Subject: Re: [Caml-list] Re: Thread Local Storage
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++: