English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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 (21:40)
From: Florian Weimer <fw@d...>
Subject: Re: [Caml-list] Re: Thread Local Storage
> 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.