w32pthreads: always use Vista+ API, drop XP support
authorwm4 <nfxjfg@googlemail.com>
Thu, 21 Dec 2017 19:23:14 +0000 (20:23 +0100)
committerwm4 <nfxjfg@googlemail.com>
Tue, 26 Dec 2017 01:49:48 +0000 (02:49 +0100)
commit9b121dfc32810250938021952aab4172a988cb56
tree4ba00da9da3be930ef112c7e802d3ed12744bef8
parent2aee5a87233277027bb281372f888b5246a58e77
w32pthreads: always use Vista+ API, drop XP support

This removes the XP compatibility code, and switches entirely to SWR
locks, which are available starting at Windows Vista.

This removes CRITICAL_SECTION use, which allows us to add
PTHREAD_MUTEX_INITIALIZER, which will be useful later.

Windows XP is hereby not a supported build target anymore. It was
decided in a project vote that this is OK.
Changelog
compat/w32pthreads.h
configure
libavcodec/pthread_frame.c
libavcodec/pthread_slice.c
libavfilter/pthread.c
libavutil/slicethread.c