[zeromq-dev] Using zmq sockets from multiple threads
pdurkan at lucerahq.com
Thu Aug 21 16:53:28 CEST 2014
Is it safe to use sockets from multiple threads if you prevent concurrent
access using a mutex?
... send a message on the socket
I can also create a new socket each time a new thread calls the function
and use the thread_id as a key but was wondering if using a mutex like the
above would get around that.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the zeromq-dev