On 10/11/2010 05:36 PM, Pieter Hintjens wrote:
> I'd propose this text for zmq_socket[3]:
>
> .Thread safety
> 0MQ sockets are not threadsafe. You can create a socket in one thread and use
> it in a second thread, passing it at thread creation time, or via an inproc
> message.  You should not read or write the same socket from multiple threads
> unless you can ensure the necessary full memory barriers.

Good, except that I wouldn't mention passing a socket via inproc.

Martin
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to