aboutsummaryrefslogtreecommitdiffstats
path: root/src/event/SocketMonitor.hxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* event/SocketMonitor: don't close the socket automaticallyMax Kellermann2014-01-061-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.
* event/Loop: remove the GLib implementationMax Kellermann2014-01-041-69/+0
| | | | | Now that the remaining known bugs in poll() implementation are fixed, we can go on without the GLib implementation.
* event/*Monitor: document as not being thread-safeMax Kellermann2013-12-311-0/+4
|
* event: introduce generic API for internal event loopDenis Krjuchkov2013-11-281-9/+5
|
* Add infrastructure for using multiple event loopsDenis Krjuchkov2013-11-271-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.
* event: add API documentationMax Kellermann2013-11-241-0/+6
|
* event/SocketMonitor: add missing spaceMax Kellermann2013-11-241-2/+2
|
* event/SocketMonitor: add method Abandon()Max Kellermann2013-11-061-0/+5
|
* EventLoop: new implementation using epollMax Kellermann2013-08-101-0/+38
| | | | Implement an event loop without GLib.
* event/*Monitor: add method GetEventLoop()Max Kellermann2013-08-081-0/+4
|
* event/SocketMonitor: un-inline Schedule()Max Kellermann2013-08-081-16/+9
| | | | Merge with CommitEventFlags().
* event/SocketMonitor: add assertionsMax Kellermann2013-08-081-0/+6
|
* event/SocketMonitor: wake up the event loop after flag changeMax Kellermann2013-01-301-0/+8
|
* event/SocketMonitor: OnSocketReady() returns boolMax Kellermann2013-01-301-1/+4
|
* event/SocketMonitor: add methods Read(), Write()Max Kellermann2013-01-301-0/+8
|
* event/SocketMonitor: add method Steal()Max Kellermann2013-01-271-0/+6
|
* event/SocketMonitor: add method Open()Max Kellermann2013-01-151-0/+5
| | | | Allow creating a closed SocketMonitor instance.
* event/SocketMonitor: wrapper class for GSource + GPollFDMax Kellermann2013-01-151-0/+118