Fast thread-local storage for OpenGL drivers

Dan Kegel dank at kegel.com
Sat Feb 22 11:21:32 CST 2003


Dan Kegel wrote:
> There have been a few good replies on the NPTL list;
> see e.g. 
> https://listman.redhat.com/pipermail/phil-list/2003-February/000615.html
> in which Roland expands a bit on his first post.

Here's the upshot of Roland's post:

OpenGL apps *can* avoid the function call Gareth was worried about.
See section 4.3, "Initial Exec TLS Model", in
http://people.redhat.com/drepper/tls.pdf
and the code sequences on pages 34-37.
As Roland points out, this requires glibc to preallocate
a little extra space, but they planned for this -- in fact,
they had OpenGL in mind when they did it.

It does look like the TLS model does what you want it to,
and no new methods are needed.  Can you explain in more detail
why your new proposal is needed, if you still think it is?

Thanks,
Dan


-- 
Dan Kegel
http://www.kegel.com
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045




More information about the wine-devel mailing list