[zeromq-dev] Dropping connection end points dynamically

Pieter Hintjens ph at imatix.com
Thu Apr 19 20:07:30 CEST 2012

On Thu, Apr 19, 2012 at 12:26 PM, Andrew Hume <andrew at research.att.com> wrote:
> pieter,
> 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?

Like Chuck said, using a mutex will perform the FMB. Just don't
confuse migrating a socket from one thread to another with sharing a
socket between two threads. There are other ways to get a FMB. Google
is your friend.

Also, I never did this so YMMV.


More information about the zeromq-dev mailing list