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/select.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/select.cpp') diff --git a/src/select.cpp b/src/select.cpp index 65772c7..3518c52 100644 --- a/src/select.cpp +++ b/src/select.cpp @@ -138,12 +138,12 @@ void xs::select_t::reset_pollout (handle_t handle_) FD_CLR (ptrtofd (handle_), &source_set_out); } -void xs::select_t::start () +void xs::select_t::xstart () { worker.start (worker_routine, this); } -void xs::select_t::stop () +void xs::select_t::xstop () { stopping = true; } -- cgit v1.2.3