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.hpp | |
parent | 47e87b7e4b8dd6a0cfbc1f30ffcb06edfa83c853 (diff) |
when no I/O threads are available error is raised instead of assertion
Diffstat (limited to 'src/object.hpp')
-rw-r--r-- | src/object.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object.hpp b/src/object.hpp index 6b52f4b..bc1b325 100644 --- a/src/object.hpp +++ b/src/object.hpp @@ -54,7 +54,7 @@ namespace zmq void log (zmq_msg_t *msg_); // Chooses least loaded I/O thread. - class io_thread_t *choose_io_thread (uint64_t taskset_); + class io_thread_t *choose_io_thread (uint64_t affinity_); // Zombify particular socket. In other words, pass the ownership to // the context. |