aboutsummaryrefslogtreecommitdiffstats
path: root/src/event/Loop.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-05 01:38:51 +0100
committerMax Kellermann <max@duempel.org>2014-01-05 02:15:01 +0100
commite9d764d7ad8f912c110cfe73f0aaef7382b1a569 (patch)
tree50187cc70fbffddf5669bc8b77f654302a3122af /src/event/Loop.hxx
parent626895577840f25c1b0b1f3208310a82c4202d58 (diff)
downloadmpd-e9d764d7ad8f912c110cfe73f0aaef7382b1a569.tar.gz
mpd-e9d764d7ad8f912c110cfe73f0aaef7382b1a569.tar.xz
mpd-e9d764d7ad8f912c110cfe73f0aaef7382b1a569.zip
event/Loop: add attribute "again"
Improved support for added events.
Diffstat (limited to '')
-rw-r--r--src/event/Loop.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/event/Loop.hxx b/src/event/Loop.hxx
index e8c737e1e..bfa8dc4a9 100644
--- a/src/event/Loop.hxx
+++ b/src/event/Loop.hxx
@@ -84,6 +84,12 @@ class EventLoop final : SocketMonitor
bool quit;
+ /**
+ * True when the object has been modified and another check is
+ * necessary before going to sleep via PollGroup::ReadEvents().
+ */
+ bool again;
+
PollGroup poll_group;
PollResult poll_result;