summaryrefslogtreecommitdiff
path: root/src/session_base.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2012-02-16 10:09:58 +0900
committerMartin Sustrik <sustrik@250bpm.com>2012-02-16 10:09:58 +0900
commit24cf53ad6eaa0eb9a873b909e932d95417f52d2c (patch)
tree0d2f19a76536d09d0fe6e22874ce572eda70eccd /src/session_base.cpp
parent0641ffa5e9588dd7daaf389c40a213994fe4b1b1 (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/session_base.cpp')
-rw-r--r--src/session_base.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/session_base.cpp b/src/session_base.cpp
index efc4f8b..168501c 100644
--- a/src/session_base.cpp
+++ b/src/session_base.cpp
@@ -43,7 +43,7 @@
#include "pull.hpp"
#include "pair.hpp"
-xs::session_base_t *xs::session_base_t::create (class io_thread_t *io_thread_,
+xs::session_base_t *xs::session_base_t::create (class poller_base_t *io_thread_,
bool connect_, class socket_base_t *socket_, const options_t &options_,
const char *protocol_, const char *address_)
{
@@ -100,7 +100,7 @@ xs::session_base_t *xs::session_base_t::create (class io_thread_t *io_thread_,
return s;
}
-xs::session_base_t::session_base_t (class io_thread_t *io_thread_,
+xs::session_base_t::session_base_t (class poller_base_t *io_thread_,
bool connect_, class socket_base_t *socket_, const options_t &options_,
const char *protocol_, const char *address_) :
own_t (io_thread_, options_),
@@ -387,7 +387,7 @@ void xs::session_base_t::start_connecting (bool wait_)
// 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 the connecter object.