[zeromq-dev] Dropping connection end points dynamically

Andrew Hume andrew at research.att.com
Thu Apr 19 19:26:36 CEST 2012


	for us regular C programmers, do we need to do anything special here?
is there some magic instruction we need to do? or do we just declare
teh socket pointer as volatile or somesuch?


On Apr 19, 2012, at 8:41 AM, Pieter Hintjens 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

Andrew Hume  (best -> Telework) +1 623-551-2845
andrew at research.att.com  (Work) +1 973-236-2014
AT&T Labs - Research; member of USENIX and LOPSA

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120419/4845a8ae/attachment.htm>

More information about the zeromq-dev mailing list