summaryrefslogtreecommitdiffstats
path: root/input/pipe-win32.c
Commit message (Collapse)AuthorAgeFilesLines
* pipe-win32: possible fix for Windows XP deadlockJames Ross-Gowan2014-12-111-0/+10
| | | | | This fixes a hang with the VirtualBox OpenGL drivers. It might help with #1325 as well.
* input: use libwaio for pipe input on Windowswm42014-09-141-0/+91
Use libwaio to read from pipes (stdin or named pipes) on Windows. This liberates us from nasty issues, such as pipes (as created by most programs) not being possible to read in a non-blocking or event-driven way. Although it would be possible to do that in a somewhat sane way on Vista+, it's still not easy, and on XP it's especially hard. libwaio handles these things for us. Move pipe.c to pipe-unix.c, and remove Windows specific things. Also adjust the input.c code to make this work cleanly.