Commit 1f536b2d authored by Martin Sustrik's avatar Martin Sustrik

Init object is child of listener

This means that all the handshaking while accepting incoming
connection is done exclusively in I/O threads, thus it won't
overload the application thread's mailbox.
Signed-off-by: 's avatarMartin Sustrik <sustrik@250bpm.com>
parent 28f3e87f
......@@ -72,6 +72,6 @@ void zmq::zmq_listener_t::in_event ()
zmq_init_t *init = new (std::nothrow) zmq_init_t (io_thread, socket,
NULL, fd, options);
zmq_assert (init);
launch_sibling (init);
launch_child (init);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment