c11: Move the implementation of threads.h into c source code

By doing this, now the global variable impl_tss_dtor_tbl are only defined one time.
So the memory usage would reduced

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/15087>
This commit is contained in:
Yonggang Luo
2022-02-19 13:19:08 +08:00
committed by Marge Bot
parent b7773fd105
commit e6392fcf3d
7 changed files with 226 additions and 202 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ Mesa Component Licenses
+-----------------+------------------------+-----------------------------+
| GLX client code | src/glx/ | SGI Free Software License B |
+-----------------+------------------------+-----------------------------+
| C11 thread | include/c11/threads*.h | Boost (permissive) |
| C11 thread | src/c11/impl/threads* | Boost (permissive) |
| emulation | | |
+-----------------+------------------------+-----------------------------+