aboutsummaryrefslogtreecommitdiffstats
path: root/src/event/SocketMonitor.hxx (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/+4
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-69/+0
Now that the remaining known bugs in poll() implementation are fixed, we can go on without the GLib implementation.
2013-12-31event/*Monitor: document as not being thread-safeMax Kellermann1-0/+4
2013-11-28event: introduce generic API for internal event loopDenis Krjuchkov1-9/+5
2013-11-27Add infrastructure for using multiple event loopsDenis Krjuchkov1-13/+28
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-24event: add API documentationMax Kellermann1-0/+6
2013-11-24event/SocketMonitor: add missing spaceMax Kellermann1-2/+2
2013-11-06event/SocketMonitor: add method Abandon()Max Kellermann1-0/+5
2013-08-10EventLoop: new implementation using epollMax Kellermann1-0/+38
Implement an event loop without GLib.
2013-08-08event/*Monitor: add method GetEventLoop()Max Kellermann1-0/+4
2013-08-08event/SocketMonitor: un-inline Schedule()Max Kellermann1-16/+9
Merge with CommitEventFlags().
2013-08-08event/SocketMonitor: add assertionsMax Kellermann1-0/+6
2013-01-30event/SocketMonitor: wake up the event loop after flag changeMax Kellermann1-0/+8
2013-01-30event/SocketMonitor: OnSocketReady() returns boolMax Kellermann1-1/+4
2013-01-30event/SocketMonitor: add methods Read(), Write()Max Kellermann1-0/+8
2013-01-27event/SocketMonitor: add method Steal()Max Kellermann1-0/+6
2013-01-15event/SocketMonitor: add method Open()Max Kellermann1-0/+5
Allow creating a closed SocketMonitor instance.
2013-01-15event/SocketMonitor: wrapper class for GSource + GPollFDMax Kellermann1-0/+118