aboutsummaryrefslogtreecommitdiffstats
path: root/src/event/SocketMonitor.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-01-13copyright year 2014Max Kellermann1-1/+1
2014-01-06event/SocketMonitor: don't close the socket automaticallyMax Kellermann1-1/+1
Users now have to call Close() explicitly. This simplifies using the class, as most users have automatic socket management already, and Steal() had to be used often.
2014-01-04event/Loop: remove the GLib implementationMax Kellermann1-97/+0
Now that the remaining known bugs in poll() implementation are fixed, we can go on without the GLib implementation.
2013-11-28event: introduce generic API for internal event loopDenis Krjuchkov1-1/+2
2013-11-28include cleanup using iwyuMax Kellermann1-1/+0
2013-11-27Add infrastructure for using multiple event loopsDenis Krjuchkov1-8/+12
This change adds two configuration options: --with-eventloop=[glib|internal|auto] --with-pollmethod=[epoll|auto] First allows switching between GLib event loop and internal one. Second chooses backend to use for internal event loop. Conditional compilation symbols are changed accordingly. Additional helper macro MPD_OPTIONAL_FUNC_NODEF is added as well.
2013-11-06event/SocketMonitor: add method Abandon()Max Kellermann1-0/+13
2013-10-15gcc.h: rename to Compiler.hMax Kellermann1-1/+1
2013-08-10EventLoop: new implementation using epollMax Kellermann1-0/+33
Implement an event loop without GLib.
2013-08-08event/SocketMonitor: un-inline Schedule()Max Kellermann1-8/+14
Merge with CommitEventFlags().
2013-08-08event/SocketMonitor: add assertionsMax Kellermann1-0/+6
2013-08-07Makefile.am: move sources to libsystem.aMax Kellermann1-1/+1
2013-01-30event/SocketMonitor: wake up the event loop after flag changeMax Kellermann1-0/+6
2013-01-30event/SocketMonitor: add methods Read(), Write()Max Kellermann1-0/+32
2013-01-27event/SocketMonitor: add method Steal()Max Kellermann1-3/+11
2013-01-15event/SocketMonitor: add method Open()Max Kellermann1-9/+22
Allow creating a closed SocketMonitor instance.
2013-01-15event/SocketMonitor: wrapper class for GSource + GPollFDMax Kellermann1-0/+108