1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 18:12:22 +00:00
mpv/TOOLS
James Ross-Gowan 7558d1ed7b win32: input: use Vista CancelIoEx
libwaio was added due to the complete inability to cancel synchronous
I/O cleanly using the public Windows API in Windows XP. Even calling
TerminateThread on the thread performing I/O was a bad solution, because
the TerminateThread function in XP would leak the thread's stack.

In Vista and up, however, this is no longer a problem. CancelIoEx can
cancel synchronous I/O running on other threads, allowing the thread to
exit cleanly, so replace libwaio usage with native Vista API functions.

It should be noted that this change also removes the hack added in
8a27025 for preventing a deadlock that only seemed to happen in Windows
XP. KB2009703 says that Vista and up are not affected by this, due to a
change in the implementation of GetFileType, so the hack should not be
needed anymore.
2015-12-20 21:06:02 +11:00
..
lib/Parse demux_mkv: don't use byte strings 2015-06-24 14:02:40 +02:00
lua TOOLS/autoload: avoid throwing an error when playing e.g. youtube 2015-10-20 12:33:57 +02:00
osxbundle/mpv.app/Contents osxbundle: remove unnecessary config file entry 2015-05-01 21:58:17 +02:00
vf_dlopen video: remove internal QP passing 2014-12-03 23:01:20 +01:00
dylib-unhell.py osxbundle: don't try to package Python 2015-02-02 16:11:11 +01:00
file2string.pl file2string: mark question mark as non-safe 2015-11-05 17:38:20 +01:00
gen-x11-icon.sh TOOLS/gen-x11-icon.sh: fix for recent ImageMagick 2015-11-04 21:48:27 +01:00
idet.sh Use setfield, not --field-dominance. See #2297. 2015-09-09 02:57:44 +02:00
matroska.pl demux_mkv: make matroska.pl script output deterministic 2015-03-11 22:17:23 +01:00
mpv_identify.sh TOOLS/mpv_identify.sh: remove pointless escape 2014-09-24 02:08:49 +02:00
old-configure win32: input: use Vista CancelIoEx 2015-12-20 21:06:02 +11:00
old-makefile vo_opengl: prefix per-backend source files with context_ 2015-12-19 14:14:12 +01:00
osxbundle.py TOOLS: unbreak osxbundle.py 2015-07-21 23:04:06 +02:00
stats-conv.py TOOLS/stats-conv: rewrite for pygtgraph 2015-10-15 23:07:03 +02:00
umpv TOOLS/umpv: fix typo in docstring 2015-04-17 13:37:47 +02:00
uncrustify.cfg
zsh.pl TOOLS/zsh.pl: only check the actual exit code when calling mpv 2015-09-20 14:21:03 +02:00