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/kqueue.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/kqueue.cpp') diff --git a/src/kqueue.cpp b/src/kqueue.cpp index 154e498..982bb43 100644 --- a/src/kqueue.cpp +++ b/src/kqueue.cpp @@ -141,12 +141,12 @@ void xs::kqueue_t::reset_pollout (handle_t handle_) } } -void xs::kqueue_t::start () +void xs::kqueue_t::xstart () { worker.start (worker_routine, this); } -void xs::kqueue_t::stop () +void xs::kqueue_t::xstop () { stopping = true; } -- cgit v1.2.3