diff options
author | Max Kellermann <max@duempel.org> | 2014-01-05 01:32:59 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-01-05 01:35:12 +0100 |
commit | f685a4800899cd3f7812b303a2e12700bdc445e2 (patch) | |
tree | f1177ce6002c2334c63ae4fddaaf7a668623f1ea /src/event/Loop.hxx | |
parent | 7c15e41da56243f364c32229108c5350d9b48788 (diff) | |
download | mpd-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.hxx | 7 |
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: |