aboutsummaryrefslogtreecommitdiffstats
path: root/src/event/MultiSocketMonitor.hxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-01-01Copyright year 2015Max Kellermann1-1/+1
2014-01-13copyright year 2014Max Kellermann1-1/+1
2014-01-06event/MultiSocketMonitor: add method ClearSocketList()Max Kellermann1-0/+5
2014-01-06event/SocketMonitor: don't close the socket automaticallyMax Kellermann1-1/+0
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-06event/MultiSocketMonitor: API documentationMax Kellermann1-0/+10
2014-01-05event/MultiSocketMonitor: add method ReplaceSocketList()Max Kellermann1-0/+12
Move code from AlsaMixerPlugin.
2014-01-05event/MultiSocketMonitor: include cleanupMax Kellermann1-3/+1
2014-01-04event/Loop: remove the GLib implementationMax Kellermann1-108/+1
Now that the remaining known bugs in poll() implementation are fixed, we can go on without the GLib implementation.
2013-11-28include cleanup using iwyuMax Kellermann1-0/+1
2013-11-27Add infrastructure for using multiple event loopsDenis Krjuchkov1-17/+31
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-1/+4
2013-11-24event/SocketMonitor: add missing spaceMax Kellermann1-2/+2
2013-10-15require GLib 2.28Max Kellermann1-2/+0
The header glib_compat.h is now obsolete and can be removed.
2013-10-15gcc.h: rename to Compiler.hMax Kellermann1-1/+1
2013-08-10EventLoop: new implementation using epollMax Kellermann1-2/+104
Implement an event loop without GLib.
2013-08-10event/MultiSocketMonitor: add struct SingleFDMax Kellermann1-7/+31
Prepare for migrating away from GLib.
2013-08-10event/MultiSocketMonitor: use uint64_t instead of gint64Max Kellermann1-2/+3
Unsigned and portable.
2013-08-10event/MultiSocketMonitor: eliminate virtual method CheckSockets()Max Kellermann1-6/+2
Handle timeout internally.
2013-08-10event/MultiSocketMonitor: PrepareSockets() returns timeoutMax Kellermann1-2/+5
Simplify the API, don't use GLib specific integer type.
2013-08-08event/*Monitor: add method GetEventLoop()Max Kellermann1-1/+4
2013-01-29require GLib 2.24Max Kellermann1-0/+1
2013-01-15input/Curl: move code to class MultiSocketMonitorMax Kellermann1-42/+48
2013-01-15event/SocketMonitor: wrapper class for GSource + GPollFDMax Kellermann1-0/+118