diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2012-02-16 10:09:54 +0900 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2012-02-16 10:09:54 +0900 |
commit | 0641ffa5e9588dd7daaf389c40a213994fe4b1b1 (patch) | |
tree | ba0152291d8a0aa01f6a531021fe4927c214b41f /src/poller_base.cpp | |
parent | 5391d09c9801ec7680f5dba430131c4f8d079765 (diff) |
Intercept start() and stop() calls in poller_base_t
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/poller_base.cpp')
-rw-r--r-- | src/poller_base.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/poller_base.cpp b/src/poller_base.cpp index 8bf091e..83e0301 100644 --- a/src/poller_base.cpp +++ b/src/poller_base.cpp @@ -55,6 +55,16 @@ xs::poller_base_t::~poller_base_t () xs_assert (get_load () == 0); } +void xs::poller_base_t::start () +{ + xstart (); +} + +void xs::poller_base_t::stop () +{ + xstop (); +} + int xs::poller_base_t::get_load () { return load.get (); |