[zeromq-dev] Thread access when using the Java bindings

Pieter Hintjens ph at imatix.com
Wed Nov 3 13:33:11 CET 2010


On Wed, Nov 3, 2010 at 1:30 PM, Stuart Sierra
<the.stuart.sierra at gmail.com> wrote:
> On Wed, Nov 3, 2010 at 8:28 AM, Jon Rowland <jon.rowland at isam.com> wrote:
>> Thanks, good to know. Are you implying that things are different in 2.1.0?
>
> My understanding is that, in 2.1.0, sockets can be safely shared across threads.

Indeed.  You cannot access a socket at the same time from multiple
threads but you can for instance create it in one thread, and then
pass it to a second thread for use.

-Pieter



More information about the zeromq-dev mailing list