Fast thread-local storage for OpenGL drivers
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.
> 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
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?
More information about the wine-devel