diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2012-02-16 10:10:49 +0900 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2012-02-16 10:10:49 +0900 |
commit | 50f225a04422abf64545f5eb36592d8c990b0ae4 (patch) | |
tree | 1ad0396c3f32b4e89f80d4abdbf0d9ced6a1e55c /src/tcp_listener.cpp | |
parent | e5e9852181947a9c41db9ff3c47e94d66a933161 (diff) |
poller_base_t renamed to io_thread_t
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 e8900fc..31a9149 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 "poller_base.hpp" +#include "io_thread.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 (poller_base_t *io_thread_, +xs::tcp_listener_t::tcp_listener_t (io_thread_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. - poller_base_t *io_thread = choose_io_thread (options.affinity); + io_thread_t *io_thread = choose_io_thread (options.affinity); xs_assert (io_thread); // Create and launch a session object. |