[zeromq-dev] JeroMQ crashes application

Michael Keselman michael.keselman at gmail.com
Wed Aug 14 17:23:50 CEST 2013


According to the Guide, sockets are not threadsafe and shouldn't be shared
among threads. My application creates multiple short-living threads and
needs to publishing messages from each one. My novice approach was to have
a shared context and create a new socket in each thread. What is a
recommended design for such environment?

Thx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130814/3e688ece/attachment.htm>


More information about the zeromq-dev mailing list