aboutsummaryrefslogtreecommitdiffstats
path: root/src/event/TimeoutMonitor.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add infrastructure for using multiple event loopsDenis Krjuchkov2013-11-271-8/+14
| | | | | | | | | | | | 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.
* EventLoop: new implementation using epollMax Kellermann2013-08-101-1/+24
| | | | Implement an event loop without GLib.
* event/TimeoutMonitor: eliminate support for periodic eventsMax Kellermann2013-04-081-9/+5
| | | | | No caller needs this. Fixes use-after-free after returning from Client::OnTimeout().
* event/TimeoutMonitor: wrapper for g_timeout_source_new()Max Kellermann2013-01-141-0/+65