aboutsummaryrefslogtreecommitdiffstats
path: root/src/event/TimeoutMonitor.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Copyright year 2015Max Kellermann2015-01-011-1/+1
|
* Merge branch 'v0.18.x'Max Kellermann2014-08-241-1/+1
|\
| * event/TimeoutMonitor: really reset "active" flag before invoking OnTimeout()Max Kellermann2014-08-241-1/+1
| | | | | | | | The previous commit was broken. D'oh!
* | Merge branch 'v0.18.x'Max Kellermann2014-08-241-0/+1
|\|
| * event/TimeoutMonitor: reset "active" flag before invoking OnTimeout()Max Kellermann2014-08-241-1/+3
| | | | | | | | | | | | The IsActive() method returned true even if the timer was not active, after it completed once. This broke the state file timer, and the state file was not saved periodically.
* | copyright year 2014Max Kellermann2014-01-131-1/+1
| |
* | event/Loop: remove the GLib implementationMax Kellermann2014-01-041-36/+1
| | | | | | | | | | Now that the remaining known bugs in poll() implementation are fixed, we can go on without the GLib implementation.
* | 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