summaryrefslogtreecommitdiff
path: root/src/epoll.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2012-02-16 10:09:54 +0900
committerMartin Sustrik <sustrik@250bpm.com>2012-02-16 10:09:54 +0900
commit0641ffa5e9588dd7daaf389c40a213994fe4b1b1 (patch)
treeba0152291d8a0aa01f6a531021fe4927c214b41f /src/epoll.cpp
parent5391d09c9801ec7680f5dba430131c4f8d079765 (diff)
Intercept start() and stop() calls in poller_base_t
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/epoll.cpp')
-rw-r--r--src/epoll.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/epoll.cpp b/src/epoll.cpp
index 0ab5d19..7208a57 100644
--- a/src/epoll.cpp
+++ b/src/epoll.cpp
@@ -31,8 +31,8 @@
#include <new>
#include "epoll.hpp"
-#include "err.hpp"
#include "config.hpp"
+#include "err.hpp"
xs::epoll_t::epoll_t () :
stopping (false)
@@ -118,12 +118,12 @@ void xs::epoll_t::reset_pollout (handle_t handle_)
errno_assert (rc != -1);
}
-void xs::epoll_t::start ()
+void xs::epoll_t::xstart ()
{
worker.start (worker_routine, this);
}
-void xs::epoll_t::stop ()
+void xs::epoll_t::xstop ()
{
stopping = true;
}