From 0641ffa5e9588dd7daaf389c40a213994fe4b1b1 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Thu, 16 Feb 2012 10:09:54 +0900 Subject: Intercept start() and stop() calls in poller_base_t Signed-off-by: Martin Sustrik --- src/epoll.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/epoll.cpp') 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 #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; } -- cgit v1.2.3