docs: Fixes dispatch.rst with __THREAD_INITIAL_EXEC

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16858>
This commit is contained in:
Yonggang Luo 2022-04-09 22:50:04 +08:00 committed by Marge Bot
parent 4dd5f03edc
commit 0cb05d13b0
1 changed files with 1 additions and 2 deletions

View File

@ -143,8 +143,7 @@ reference.
.. code-block:: c
:caption: TLS ``GET_DISPATCH`` Implementation
extern __thread struct _glapi_table *_glapi_tls_Dispatch
__attribute__((tls_model("initial-exec")));
extern __THREAD_INITIAL_EXEC struct _glapi_table *_glapi_tls_Dispatch;
#define GET_DISPATCH() _glapi_tls_Dispatch