aboutsummaryrefslogtreecommitdiffstats
path: root/src/event/SocketMonitor.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* event/SocketMonitor: don't close the socket automaticallyMax Kellermann2014-01-061-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.
* event/Loop: remove the GLib implementationMax Kellermann2014-01-041-97/+0
| | | | | Now that the remaining known bugs in poll() implementation are fixed, we can go on without the GLib implementation.
* event: introduce generic API for internal event loopDenis Krjuchkov2013-11-281-1/+2
|
* include cleanup using iwyuMax Kellermann2013-11-281-1/+0
|
* Add infrastructure for using multiple event loopsDenis Krjuchkov2013-11-271-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.
* event/SocketMonitor: add method Abandon()Max Kellermann2013-11-061-0/+13
|
* gcc.h: rename to Compiler.hMax Kellermann2013-10-151-1/+1
|
* EventLoop: new implementation using epollMax Kellermann2013-08-101-0/+33
| | | | Implement an event loop without GLib.
* event/SocketMonitor: un-inline Schedule()Max Kellermann2013-08-081-8/+14
| | | | Merge with CommitEventFlags().
* event/SocketMonitor: add assertionsMax Kellermann2013-08-081-0/+6
|
* Makefile.am: move sources to libsystem.aMax Kellermann2013-08-071-1/+1
|
* event/SocketMonitor: wake up the event loop after flag changeMax Kellermann2013-01-301-0/+6
|
* event/SocketMonitor: add methods Read(), Write()Max Kellermann2013-01-301-0/+32
|
* event/SocketMonitor: add method Steal()Max Kellermann2013-01-271-3/+11
|
* event/SocketMonitor: add method Open()Max Kellermann2013-01-151-9/+22
| | | | Allow creating a closed SocketMonitor instance.
* event/SocketMonitor: wrapper class for GSource + GPollFDMax Kellermann2013-01-151-0/+108