aboutsummaryrefslogtreecommitdiffstats
path: root/src/GlobalEvents.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-01-13WakeFD.cxx: use two sockets instead of pipe on Win32Denis Krjuchkov1-1/+1
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.
2013-01-10GlobalEvents: lock-less operation using std::atomicMax Kellermann1-31/+8
Use a bit field instead of a mutex-protected bool array.
2013-01-09GlobalEvents: move code to class WakeFDMax Kellermann1-27/+11
2013-01-09EventPipe: rename to GlobalEventsMax Kellermann1-0/+153