[vlc-commits] variables: Use thread_local
Hugo Beauzée-Luyssen
git at videolan.org
Thu Jun 15 16:22:37 CEST 2017
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Jun 15 16:17:47 2017 +0200| [d4bd6f627c8e48be9989205a73646f46c5e3d370] | committer: Hugo Beauzée-Luyssen
variables: Use thread_local
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d4bd6f627c8e48be9989205a73646f46c5e3d370
---
src/misc/variables.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/misc/variables.c b/src/misc/variables.c
index 121ef5ea70..610e414593 100644
--- a/src/misc/variables.c
+++ b/src/misc/variables.c
@@ -1378,7 +1378,7 @@ void DumpVariables(vlc_object_t *obj)
vlc_mutex_unlock(&vlc_internals(obj)->var_lock);
}
-static _Thread_local void *twalk_ctx;
+static thread_local void *twalk_ctx;
static void TwalkGetNames(const void *data, const VISIT which, const int depth)
{
More information about the vlc-commits
mailing list