problem: no thread-safe alternative for ZMQ_PAIR

Solution: create ZMQ_CHANNEL, the thread safe alternative
This commit is contained in:
Doron Somech
2020-05-09 07:44:32 +03:00
parent 28cb820f4f
commit 3da84c6d06
14 changed files with 392 additions and 14 deletions

View File

@@ -88,6 +88,7 @@ zmq::session_base_t *zmq::session_base_t::create (class io_thread_t *io_thread_,
case ZMQ_SCATTER:
case ZMQ_DGRAM:
case ZMQ_PEER:
case ZMQ_CHANNEL:
#ifdef ZMQ_BUILD_DRAFT_API
if (options_.can_send_hello_msg && options_.hello_msg.size () > 0)
s = new (std::nothrow) hello_msg_session_t (