aboutsummaryrefslogtreecommitdiffstats
path: root/src/event/Loop.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-05 01:32:59 +0100
committerMax Kellermann <max@duempel.org>2014-01-05 01:35:12 +0100
commitf685a4800899cd3f7812b303a2e12700bdc445e2 (patch)
treef1177ce6002c2334c63ae4fddaaf7a668623f1ea /src/event/Loop.hxx
parent7c15e41da56243f364c32229108c5350d9b48788 (diff)
downloadmpd-f685a4800899cd3f7812b303a2e12700bdc445e2.tar.gz
mpd-f685a4800899cd3f7812b303a2e12700bdc445e2.tar.xz
mpd-f685a4800899cd3f7812b303a2e12700bdc445e2.zip
event/Loop: move code to HandleDeferred()
Diffstat (limited to 'src/event/Loop.hxx')
-rw-r--r--src/event/Loop.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/event/Loop.hxx b/src/event/Loop.hxx
index 5ac7d635f..b8d090eb5 100644
--- a/src/event/Loop.hxx
+++ b/src/event/Loop.hxx
@@ -157,6 +157,13 @@ public:
void Run();
private:
+ /**
+ * Invoke all pending DeferredMonitors.
+ *
+ * Caller must lock the mutex.
+ */
+ void HandleDeferred();
+
virtual bool OnSocketReady(unsigned flags) override;
public: