NVIDIA and TLS

Gareth Hughes gareth at nvidia.com
Mon Jun 16 16:31:25 PDT 2003


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.

-- 
Gareth Hughes (gareth at nvidia.com)
OpenGL Developer, NVIDIA Corporation


More information about the freebsd-threads mailing list