[zeromq-dev] Dropping connection end points dynamically
Radha Krishna Srimanthula
srimanthula.radhakrishna at gmail.com
Thu Apr 19 18:34:19 CEST 2012
Thanks for the reply Pieter,
Can you please help me with more information about performing a full memory
barrier? Frankly, hearing it for the first time.
--
Regards,
Radha
<http://www.sradhakrishna.com>
On Thu, Apr 19, 2012 at 8:41 AM, Pieter Hintjens <ph at imatix.com> wrote:
> On Wed, Apr 18, 2012 at 5:09 PM, Radha Krishna Srimanthula
> <srimanthula.radhakrishna at gmail.com> wrote:
>
> > Just to restate - would it be ok to create a socket in a main thread -
> only
> > once, perform subscriptions/ unsubscriptions in another, and perform
> sends
> > on the yet another thread?
>
> Yes, you can migrate sockets between threads but you MUST do a full
> memory barrier between operations.
>
> -Pieter
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120419/f51d395d/attachment.htm>
More information about the zeromq-dev
mailing list