[vlc-devel] [PATCH v2 02/18] Rename android/thread.c to posix/thread_nocancel.c

Rémi Denis-Courmont remi at remlab.net
Mon Mar 13 20:07:24 CET 2017


Le maanantaina 13. maaliskuuta 2017, 12.36.48 EET Dennis Hamester a écrit :
> 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 => posix/thread_nocancel.c} | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>  rename src/{android/thread.c => posix/thread_nocancel.c} (99%)
> 
> diff --git a/src/Makefile.am b/src/Makefile.am
> index 1e0e70fa86..72227dc65c 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 \
> +	posix/thread_nocancel.c \

There is no such thing as POSIX without thread cancellation. This is very 
misleading. No thanks.

-- 
雷米‧德尼-库尔蒙
https://www.remlab.net/



More information about the vlc-devel mailing list