[zeromq-dev] JeroMQ crashes application
Pieter Hintjens
ph at imatix.com
Wed Aug 14 17:37:26 CEST 2013
Hi Michael.
1. How long is "short-lived"?
2. Are you saying JeroMQ is crashing when you do this?
-Pieter
On Wed, Aug 14, 2013 at 5:23 PM, Michael Keselman
<michael.keselman at gmail.com> wrote:
> 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
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
More information about the zeromq-dev
mailing list