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: -- (:)
From: skaller <skaller@u...>
Subject: Re: [Caml-list] Re: Thread Local Storage
On Tue, 2006-02-14 at 15:40 +1300, Jonathan Roewen wrote:
[on TLS]

I wonder why you need this? You're providing a new OS with new
build system, tools, etc.

TLS is entirely a legacy application backwards compatibility hack
designed to support badly designed C applications. It has no
function in new code and should NOT be supported in an OS layer
that doesn't need to support broken legacy apps.

Threads already have local storage -- their stacks. That's
all you need.

John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: