aboutsummaryrefslogtreecommitdiffstats
path: root/src/event/WakeFD.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* configure.ac: add option --enable-eventfdMax Kellermann2013-08-061-225/+0
| | | | | | Remove the runtime check for eventfd(), hard-code the feature once it's been selected at compile time. The class WakeFD is splitted into EventFD and EventPipe, using WakeFD as a macro diversion.
* WakeFD.cxx: use two sockets instead of pipe on Win32Denis Krjuchkov2013-01-131-4/+127
| | | | | | | | | 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.
* event/WakeFD: use eventfd() if availableMax Kellermann2013-01-101-1/+35
|
* GlobalEvents: move code to class WakeFDMax Kellermann2013-01-091-0/+68