Mesa (main): docs: Fixes dispatch.rst with __THREAD_INITIAL_EXEC

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Jun 7 14:59:15 UTC 2022


Module: Mesa
Branch: main
Commit: 0cb05d13b07474d97dca2c31d2163ff3ce462d4f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0cb05d13b07474d97dca2c31d2163ff3ce462d4f

Author: Yonggang Luo <luoyonggang at gmail.com>
Date:   Sat Apr  9 22:50:04 2022 +0800

docs: Fixes dispatch.rst with __THREAD_INITIAL_EXEC

Signed-off-by: Yonggang Luo <luoyonggang at gmail.com>
Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16858>

---

 docs/dispatch.rst | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/docs/dispatch.rst b/docs/dispatch.rst
index cd1ca3434d9..2bdf732d292 100644
--- a/docs/dispatch.rst
+++ b/docs/dispatch.rst
@@ -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
 



More information about the mesa-commit mailing list