diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2012-02-16 10:09:58 +0900 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2012-02-16 10:09:58 +0900 |
commit | 24cf53ad6eaa0eb9a873b909e932d95417f52d2c (patch) | |
tree | 0d2f19a76536d09d0fe6e22874ce572eda70eccd /src/tcp_listener.cpp | |
parent | 0641ffa5e9588dd7daaf389c40a213994fe4b1b1 (diff) |
io_thread_t merged with poller_base_t
The relationship of these two classes was 1:1.
Thus one of them was obsolete.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/tcp_listener.cpp')
-rw-r--r-- | src/tcp_listener.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tcp_listener.cpp b/src/tcp_listener.cpp index 31a9149..e8900fc 100644 --- a/src/tcp_listener.cpp +++ b/src/tcp_listener.cpp @@ -26,7 +26,7 @@ #include "platform.hpp" #include "tcp_listener.hpp" #include "stream_engine.hpp" -#include "io_thread.hpp" +#include "poller_base.hpp" #include "session_base.hpp" #include "config.hpp" #include "err.hpp" @@ -48,7 +48,7 @@ #include <ioctl.h> #endif -xs::tcp_listener_t::tcp_listener_t (io_thread_t *io_thread_, +xs::tcp_listener_t::tcp_listener_t (poller_base_t *io_thread_, socket_base_t *socket_, const options_t &options_) : own_t (io_thread_, options_), io_object_t (io_thread_), @@ -94,7 +94,7 @@ void xs::tcp_listener_t::in_event (fd_t fd_) // Choose I/O thread to run connecter in. Given that we are already // running in an I/O thread, there must be at least one available. - io_thread_t *io_thread = choose_io_thread (options.affinity); + poller_base_t *io_thread = choose_io_thread (options.affinity); xs_assert (io_thread); // Create and launch a session object. |