diff options
author | Denis Krjuchkov <denis@crazydev.net> | 2013-01-13 15:30:53 +0600 |
---|---|---|
committer | Denis Krjuchkov <denis@crazydev.net> | 2013-01-13 15:30:53 +0600 |
commit | 90ab65f8c732e83bd99a1621e38a4e690c71e95d (patch) | |
tree | 277fbb184b0d366a987927bda65e819b11923813 /src/thread | |
parent | abb0fcb2035fa96b1ec09f9480838c476527ccd4 (diff) | |
download | mpd-90ab65f8c732e83bd99a1621e38a4e690c71e95d.tar.gz mpd-90ab65f8c732e83bd99a1621e38a4e690c71e95d.tar.xz mpd-90ab65f8c732e83bd99a1621e38a4e690c71e95d.zip |
WakeFD.cxx: use two sockets instead of pipe on Win32
Pipes aren't really pollable on Windows.
GLib emulates polling on pipes using separate reader/writer threads.
This adds significant overhead and keeps a strong dependency on GLib.
socketpair() function is absent on Windows as well.
We implement it here in a loose way.
Diffstat (limited to 'src/thread')
0 files changed, 0 insertions, 0 deletions