mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-04 19:13:35 +01:00
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: Martin Sustrik <sustrik@250bpm.com>
This commit is contained in:
parent
28f3e87fc6
commit
1f536b2d38
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user