mesa: Rename GLX_USE_TLS to USE_ELF_TLS.
These days it is not GLX only and it does not work with all TLS implementations. Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
This commit is contained in:
parent
d7ca1efc6c
commit
9f37c9903b
18 changed files with 57 additions and 57 deletions
|
|
@ -166,8 +166,8 @@ extern __thread struct _glapi_table *_glapi_tls_Dispatch
|
|||
</blockquote>
|
||||
|
||||
<p>Use of this path is controlled by the preprocessor define
|
||||
<code>GLX_USE_TLS</code>. Any platform capable of using TLS should use this as
|
||||
the default dispatch method.</p>
|
||||
<code>USE_ELF_TLS</code>. Any platform capable of using ELF TLS should use this
|
||||
as the default dispatch method.</p>
|
||||
|
||||
<h3>3.3. Assembly Language Dispatch Stubs</h3>
|
||||
|
||||
|
|
@ -204,7 +204,7 @@ terribly relevant.</p>
|
|||
few preprocessor defines.</p>
|
||||
|
||||
<ul>
|
||||
<li>If <code>GLX_USE_TLS</code> is defined, method #3 is used.</li>
|
||||
<li>If <code>USE_ELF_TLS</code> is defined, method #3 is used.</li>
|
||||
<li>If <code>HAVE_PTHREAD</code> is defined, method #2 is used.</li>
|
||||
<li>If none of the preceding are defined, method #1 is used.</li>
|
||||
</ul>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue