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
cmd_list.h
cmd_parse.c
cmd_parse.h
event.c
event.h
input.c win32: input: use Vista CancelIoEx 2015-12-20 21:06:02 +11:00
input.h
ipc.c
keycodes.c input: rename recently added HALF_SPACE 2015-10-21 22:25:30 +02:00
keycodes.h
pipe-win32.c win32: input: use Vista CancelIoEx 2015-12-20 21:06:02 +11:00