mpv/input
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
..
cmd_list.c command: make "add <property> 0" not change the value 2015-09-10 14:15:48 +02:00
cmd_list.h command: add a command for defining input bindings 2015-08-06 00:16:45 +02:00
cmd_parse.c command: make "add <property> 0" not change the value 2015-09-10 14:15:48 +02:00
cmd_parse.h Update license headers 2015-04-13 12:10:01 +02:00
event.c player: rename and move find_subfiles.c 2015-09-20 18:05:06 +02:00
event.h input: add append argument to file drop event 2015-08-30 05:28:24 -07:00
input.c win32: input: use Vista CancelIoEx 2015-12-20 21:06:02 +11:00
input.h input: remove some unneeded things 2015-05-26 22:00:25 +02:00
ipc.c ipc: fix undefined behavior in some error cases 2015-07-06 00:08:29 +02:00
keycodes.c input: rename recently added HALF_SPACE 2015-10-21 22:25:30 +02:00
keycodes.h Update license headers 2015-04-13 12:10:01 +02:00
pipe-win32.c win32: input: use Vista CancelIoEx 2015-12-20 21:06:02 +11:00