aboutsummaryrefslogtreecommitdiffstats
path: root/src/event/Loop.hxx
diff options
context:
space:
mode:
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 859ce2733..62e733747 100644
--- a/src/event/Loop.hxx
+++ b/src/event/Loop.hxx
@@ -121,6 +121,13 @@ public:
return epoll.Modify(_fd, flags, &m);
}
+ /**
+ * Remove the given #SocketMonitor after the file descriptor
+ * has been closed. This is like RemoveFD(), but does not
+ * attempt to use #EPOLL_CTL_DEL.
+ */
+ void Abandon(SocketMonitor &m);
+
bool RemoveFD(int fd, SocketMonitor &m);
void AddIdle(IdleMonitor &i);