diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2010-09-09 08:25:00 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2010-09-09 08:25:00 +0200 |
commit | a68e6739f4248e25a0f9a64c89729f55dfacb842 (patch) | |
tree | 4686061e52137cfa373587162f59536cd3f55d32 /src/object.cpp | |
parent | 47e87b7e4b8dd6a0cfbc1f30ffcb06edfa83c853 (diff) |
when no I/O threads are available error is raised instead of assertion
Diffstat (limited to 'src/object.cpp')
-rw-r--r-- | src/object.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/object.cpp b/src/object.cpp index 7b5532b..90c015a 100644 --- a/src/object.cpp +++ b/src/object.cpp @@ -142,9 +142,9 @@ void zmq::object_t::log (zmq_msg_t *msg_) ctx->log (msg_); } -zmq::io_thread_t *zmq::object_t::choose_io_thread (uint64_t taskset_) +zmq::io_thread_t *zmq::object_t::choose_io_thread (uint64_t affinity_) { - return ctx->choose_io_thread (taskset_); + return ctx->choose_io_thread (affinity_); } void zmq::object_t::zombify_socket (socket_base_t *socket_) |