Hi, If I create a ZMQ socket, do not touch it direct or indirectly after this, and spawn a thread and hand over the pointer of socket to the new thread. The new thread is the only thread that perform operations on the socket, including deleting the socket. Is this the right way to migrate the socket across 2 threads? zmq_socket reference manual talks about using "full fence" memory barrier to do this. Do I really need to do this for my simple example?
Thanks! kc
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
