w32pthreads: always use Vista+ API, drop XP support
authorwm4 <nfxjfg@googlemail.com>
Thu, 21 Dec 2017 19:23:14 +0000 (20:23 +0100)
committerDiego Biurrun <diego@biurrun.de>
Mon, 9 Apr 2018 19:58:39 +0000 (21:58 +0200)
commitc7ab6aff66cba2f265f656ce8d56aa428d4ada76
tree76f98640ac8009927b47a95a8d9825aea046a1d5
parentc31f6b1d61759436ef50c094e7f4c8005e97614a
w32pthreads: always use Vista+ API, drop XP support

This removes the XP compatibility code, and switches entirely to SRW
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.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
Changelog
compat/w32pthreads.h
configure
libavcodec/pthread_frame.c
libavcodec/pthread_slice.c
libavfilter/pthread.c