[zeromq-dev] [PATCH] Scalability improvements for large amounts of connections
Pieter Hintjens
ph at imatix.com
Mon Oct 11 17:36:45 CEST 2010
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.
-
Pieter Hintjens
iMatix - www.imatix.com
More information about the zeromq-dev
mailing list