diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2010-04-29 17:20:23 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2010-04-29 17:20:23 +0200 |
commit | c193fd146661b39027c5e3fa0776dcdf8c6af5e2 (patch) | |
tree | 0ec001869a7e6519cc1b910de0b26c46308eba96 /src/io_thread.cpp | |
parent | 7cb076e56a18cb76c49f17bd34bc73c11e01b705 (diff) |
lock-free polling removed; ZMQ_POLL flag removed
Diffstat (limited to 'src/io_thread.cpp')
-rw-r--r-- | src/io_thread.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/io_thread.cpp b/src/io_thread.cpp index ff45478..41f7f7d 100644 --- a/src/io_thread.cpp +++ b/src/io_thread.cpp @@ -27,10 +27,8 @@ #include "err.hpp" #include "command.hpp" #include "dispatcher.hpp" -#include "simple_semaphore.hpp" -zmq::io_thread_t::io_thread_t (dispatcher_t *dispatcher_, int thread_slot_, - int flags_) : +zmq::io_thread_t::io_thread_t (dispatcher_t *dispatcher_, int thread_slot_) : object_t (dispatcher_, thread_slot_) { poller = new (std::nothrow) poller_t; @@ -56,7 +54,7 @@ void zmq::io_thread_t::stop () send_stop (); } -zmq::i_signaler *zmq::io_thread_t::get_signaler () +zmq::fd_signaler_t *zmq::io_thread_t::get_signaler () { return &signaler; } |