NVIDIA and TLS

Terry Lambert tlambert2 at mindspring.com
Mon Jun 16 22:59:22 PDT 2003


Gareth Hughes wrote:
> On Mon, 16 Jun 2003, Daniel Eischen wrote:
> > Right.  It just seems wrong to me to be able to insert __thread
> > after every global variable in a library and instantly make
> > it thread-safe.
> 
> Why, exactly?  Surely, from a programming point of view, this is
> exactly what you want -- a transparent way to access your thread
> local data.

No, what you want first and foremost is your code to compile and
run on all platforms, without limiting your market by relying on
defacto language extensions that have not been explicitly and
intentionally standardized by a recognized standards body.

-- Terry


More information about the freebsd-threads mailing list