[vlc-devel] [PATCH v3 03/19] Rename android/thread.c to misc/thread_nocancel.c
Dennis Hamester
dhamester at jusst.de
Mon Mar 20 17:57:20 CET 2017
From: Dennis Hamester <dennis.hamester at startmail.com>
The existing thread implementation for systems, which lack proper
pthread cancel support, can be used not just on Android but other
platforms as well (NaCl for example).
---
src/Makefile.am | 2 +-
src/{android/thread.c => misc/thread_nocancel.c} | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
rename src/{android/thread.c => misc/thread_nocancel.c} (99%)
diff --git a/src/Makefile.am b/src/Makefile.am
index 1e0e70fa86..7e9a615763 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -391,7 +391,7 @@ if HAVE_ANDROID
libvlccore_la_SOURCES += \
android/error.c \
android/specific.c \
- android/thread.c \
+ misc/thread_nocancel.c \
linux/cpu.c \
linux/dirs.c \
linux/thread.c
diff --git a/src/android/thread.c b/src/misc/thread_nocancel.c
similarity index 99%
rename from src/android/thread.c
rename to src/misc/thread_nocancel.c
index fcffd7a827..8056dbc209 100644
--- a/src/android/thread.c
+++ b/src/misc/thread_nocancel.c
@@ -1,5 +1,5 @@
/*****************************************************************************
- * thread.c : android pthread back-end for LibVLC
+ * thread_nocancel.c : pthread back-end with custom cancel based on futexes
*****************************************************************************
* Copyright (C) 1999-2016 VLC authors and VideoLAN
*
--
2.12.0
More information about the vlc-devel
mailing list